[更新]
This commit is contained in:
@@ -59,7 +59,10 @@ 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 || ''}})
|
||||
const myshare = (channel,parent_id,url) => req({url: "user/share",data:{channel: channel,parent_id : parent_id || '', url: url}})
|
||||
|
||||
// 我的分享-展示参数
|
||||
const wechatShares = () => req({url: "ajax/wechat_shares"})
|
||||
|
||||
// 我的推荐
|
||||
const childs = (page) => req({url: "user/childs",data:{page : page || ''}})
|
||||
@@ -118,6 +121,12 @@ const storedList = () => req({url: "shares/recharges"})
|
||||
// 产品分享二维码+储值分享二维码
|
||||
const publicCode = (channel, type, url) => req({url: "user/share/goods", data:{channel: channel, type : type, url: url}})
|
||||
|
||||
// 订单收益列表
|
||||
const profits = (page) => req({url: "data/profits", data:{page : page || ''}})
|
||||
|
||||
// 订单收益列表-下级明细
|
||||
const profitsNext = (order_type, order_id, page) => req({url: "data/profitlogs", data:{order_type : order_type, order_id : order_id, page : page || ''}})
|
||||
|
||||
export default({
|
||||
index,
|
||||
mobiles,
|
||||
@@ -139,6 +148,7 @@ export default({
|
||||
washcarBuy,
|
||||
washcarCreate,
|
||||
myshare,
|
||||
wechatShares,
|
||||
childs,
|
||||
ajaxTel,
|
||||
transfers,
|
||||
@@ -158,5 +168,7 @@ export default({
|
||||
productInfo,
|
||||
productPoster,
|
||||
storedList,
|
||||
publicCode
|
||||
publicCode,
|
||||
profits,
|
||||
profitsNext
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user