diff --git a/application/models/feedback_model.php b/application/models/feedback_model.php index ef25e163..e861a496 100644 --- a/application/models/feedback_model.php +++ b/application/models/feedback_model.php @@ -160,18 +160,18 @@ class Feedback_model extends CI_Model { /** * 根据城市英文名查找反馈信息 */ - function get_feedback_by_city_name($city_name) { + function get_feedback_by_city_name($city_name, $top = 30) { $feedback_query = $this->HT->query(" - select top 30 + select top ? tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name from Eva_TAInfo left join Eva_TADetail on TAD_TAI_SN=TAI_SN left join V_CIty_Info vci on vci.cii_sn = tai_cii_sn and vci.LGC_LGC = 1 where TAD_Content is not null and vci.cii2_name = ? order by tai_getdate desc", - array($city_name)); + array($top, $city_name)); $feedback_result = $feedback_query->result(); $feedback_list = []; diff --git a/application/views/mobile_first/ah-ch-gh-feedback-30-list.php b/application/views/mobile_first/ah-feedback-30-list.php similarity index 100% rename from application/views/mobile_first/ah-ch-gh-feedback-30-list.php rename to application/views/mobile_first/ah-feedback-30-list.php diff --git a/application/views/mobile_first/ch-feedback-30-list.php b/application/views/mobile_first/ch-feedback-30-list.php new file mode 100644 index 00000000..a3eb74d5 --- /dev/null +++ b/application/views/mobile_first/ch-feedback-30-list.php @@ -0,0 +1,41 @@ + +