This commit is contained in:
zhangmanman
2021-07-14 10:08:28 +08:00
parent ba6b09db50
commit bc38362878
36 changed files with 481 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
import {req} from "../request"
//微信授权登录
const record = (code, iv, encryptedData) => req({url: "auth/openwx", method: "POST", data: {code: code, iv: iv, encryptedData: encryptedData}})
const record = (code, iv, encryptedData, parent_id) => req({url: "auth/openwx", method: "POST", data: {code: code, iv: iv, encryptedData: encryptedData, parent_id: parent_id || 0}})
//微信手机授权
const bindmobile = (code, iv, mobile) => req({url: "auth/bindmobile", method: "POST", data: {code: code, iv: iv, mobile: mobile}})

View File

@@ -58,6 +58,9 @@ const washcarBuy = (welfare_id, right_id, qty, address_id, is_deliver) => req({u
// 收银台提交
const washcarCreate = (welfare_id, right_id, qty, address_id, is_deliver) => req({url: "washcar/create", method: "POST", data:{welfare_id : welfare_id, right_id : right_id, qty : qty, address_id : address_id || '', is_deliver : is_deliver}})
// 我的分享
const myshare = (parent_id) => req({url: "user/share",data:{parent_id : parent_id || ''}})
export default({
index,
mobiles,
@@ -77,5 +80,6 @@ export default({
unicom,
merchant_card,
washcarBuy,
washcarCreate
washcarCreate,
myshare
})