Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Registreren
Inloggen
weapp
/
C
Volgen
8
Ster
0
Vork
0
Code
Kwesties
0
Pull-aanvragen
0
Publicaties
66
Wiki
Activiteit
Bladeren bron
[业态][修改]:[业态接口需要传的字段修改]
tags/江西版6.1.0
meo
6 jaren geleden
bovenliggende
63f7dc413c
commit
06395dc4eb
3 gewijzigde bestanden
met
toevoegingen van 10
en
1 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+3
-0
config/config.js
+3
-0
pages/index/searchbar/index.js
+4
-1
pages/main/coupons/index.js
+ 3
- 0
config/config.js
Bestand weergeven
@@ -33,6 +33,9 @@ var config = {
/**
* 业态查询
* filter
* 2 券
* 1 商户
*/
businessList: "/wxBusiness/listAll",
/**
+ 3
- 0
pages/index/searchbar/index.js
Bestand weergeven
@@ -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
Bestand weergeven
@@ -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)
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan