update other api
This commit is contained in:
@@ -97,6 +97,40 @@ const install = (Vue, vm) => {
|
||||
canselectgood(){
|
||||
return vm.$u.post("/article/getStoreGoodsList")
|
||||
},
|
||||
// 发布图文
|
||||
publishphoto({article_title,article_content,article_pic,file_id,goods_id_arr,label_arr}){
|
||||
return vm.$u.post("/article/publishImage",{article_title,article_content,article_pic,file_id,goods_id_arr,label_arr})
|
||||
},
|
||||
// 发布视频
|
||||
publishvideo({article_title,article_content,article_pic,video_path,goods_id_arr,label_arr}){
|
||||
return vm.$u.post("/article/publishVideo",{article_title,article_content,article_pic,video_path,goods_id_arr,label_arr})
|
||||
},
|
||||
// 订单详情
|
||||
orderdetail({order_id}){
|
||||
return vm.$u.post("/Order/orderInfo",{order_id})
|
||||
},
|
||||
// 试穿订单详情
|
||||
testorderdetail({goods_try_id}){
|
||||
return vm.$u.post("/order/goodsTryOrderInfo",{goods_try_id})
|
||||
},
|
||||
// 绑定物流订单
|
||||
bindpushid({order_id,shipping_code,shipping_express_id}){
|
||||
return vm.$u.post("/order/send",{order_id,shipping_code,shipping_express_id})
|
||||
},
|
||||
// 绑定骑手
|
||||
bindcarer({order_id,takeawayer_id}){
|
||||
return vm.$u.post("/order/orderRider",{order_id,takeawayer_id})
|
||||
},
|
||||
// 发货物流公司
|
||||
pushcompany(){
|
||||
return vm.$u.post("/order/getExpress")
|
||||
},
|
||||
// 退款退货
|
||||
refund({refund_id,seller_state,seller_message}){
|
||||
return vm.$u.post("/order/editRefund",{refund_id,seller_state,seller_message})
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
// 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下
|
||||
vm.$u.api = api;
|
||||
|
||||
Reference in New Issue
Block a user