This website works better with JavaScript.
首頁
探索
說明
註冊
登入
weapp
/
C
關註
8
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
66
Wiki
Activity
瀏覽代碼
[业态][修改]:[业态接口需要传的字段修改]
tags/江西版6.1.0
meo
6 年之前
父節點
63f7dc413c
當前提交
06395dc4eb
共有
3 個文件被更改
,包括
10 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
config/config.js
+3
-0
pages/index/searchbar/index.js
+4
-1
pages/main/coupons/index.js
+ 3
- 0
config/config.js
查看文件
@@ -33,6 +33,9 @@ var config = {
/**
* 业态查询
* filter
* 2 券
* 1 商户
*/
businessList: "/wxBusiness/listAll",
/**
+ 3
- 0
pages/index/searchbar/index.js
查看文件
@@ -57,6 +57,9 @@ Page({
let that = this;
Http.get({
url: config.api.businessList,
data:{
filter:1
}
}).then(res => {
that.setData({
lists: [{ id: 0, title: "全部", type: 1 }].concat(res.data)
+ 4
- 1
pages/main/coupons/index.js
查看文件
@@ -183,7 +183,10 @@ Component({
Http.setToken(token);
// business获取
Http.get({
url: config.api.businessList
url: config.api.businessList,
data:{
filter:2
}
}).then(res => {
that.setData({
tabs: [{ id: 0, title: "全部", type: 1 }].concat(res.data)
Write
Preview
Loading…
取消
儲存