diff --git a/pages/list/movieticket/index.js b/pages/list/movieticket/index.js
index 403d02c..5fb3a3f 100644
--- a/pages/list/movieticket/index.js
+++ b/pages/list/movieticket/index.js
@@ -126,7 +126,7 @@ Page({
}
data.page = this.data.page;
data.pageSize = 10;
- commonApi.user_post(service,data).then(res=>{
+ commonApi._post(service,data).then(res=>{
console.log(res)
res.data.map(item=>{
if(item.distance>1000){
diff --git a/pages/list/road/index.js b/pages/list/road/index.js
index 49f1392..43b6337 100644
--- a/pages/list/road/index.js
+++ b/pages/list/road/index.js
@@ -20,7 +20,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
- commonApi.user_post("act/get_type_by_area",{
+ commonApi._post("act/get_type_by_area",{
tag_id:17,
area_id:""
}).then(res=>{
diff --git a/pages/list/six/index.js b/pages/list/six/index.js
index 05cf7c2..1966539 100644
--- a/pages/list/six/index.js
+++ b/pages/list/six/index.js
@@ -37,7 +37,7 @@ Page({
},
getTypes:function(){
// 获取苏城六纪下面的分类
- commonApi.user_post("act/get_type_by_area",{
+ commonApi._post("act/get_type_by_area",{
area_id:this.data.areas[this.data.areaIndex].area_id,
tag_id:16
}).then(res=>{
diff --git a/pages/list/techan/index.js b/pages/list/techan/index.js
index dc27795..3ed1117 100644
--- a/pages/list/techan/index.js
+++ b/pages/list/techan/index.js
@@ -9,7 +9,7 @@ Page({
data: {
list:[],
total:1,
- type:19,
+ type:2,
keywords:""
},
@@ -39,7 +39,7 @@ Page({
let list = this.data.list;
if(list.length>=this.data.total) return;
commonApi._post("supplier/get_supplier_by_tag_id",{
- tag_id:1,
+ tag_id:this.data.type,
limit:10,
offset:list.length,
sort:"weight",
diff --git a/pages/list/techan/index.json b/pages/list/techan/index.json
index 9f79876..35cf02f 100644
--- a/pages/list/techan/index.json
+++ b/pages/list/techan/index.json
@@ -1,5 +1,5 @@
{
"usingComponents": {
- "search":"/pages/component/SearchHeader"
+ "title":"/pages/component/TitleHeader"
}
}
\ No newline at end of file
diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml
index 65e5056..5057eb2 100644
--- a/pages/list/techan/index.wxml
+++ b/pages/list/techan/index.wxml
@@ -1,12 +1,12 @@
-