This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
[业态][修改]:[业态接口需要传的字段修改]
tags/江西版6.1.0
meo
6 years ago
parent
63f7dc413c
commit
06395dc4eb
3 changed files
with
10 additions
and
1 deletions
Split View
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
View File
@@ -33,6 +33,9 @@ var config = {
/**
* 业态查询
* filter
* 2 券
* 1 商户
*/
businessList: "/wxBusiness/listAll",
/**
+ 3
- 0
pages/index/searchbar/index.js
View File
@@ -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
View File
@@ -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…
Cancel
Save