Commit 841a3502 by 程智春

直播小程序

parent e985734f
...@@ -77,4 +77,15 @@ export default { ...@@ -77,4 +77,15 @@ export default {
getUserInfo() { getUserInfo() {
return requestPOST(`${process.env.OLSHOP_URL}/user/get_user_info`) return requestPOST(`${process.env.OLSHOP_URL}/user/get_user_info`)
}, },
imgToBase64(data){
return requestPOST(`${process.env.OLSHOP_URL}/common/read_remote_file?url=${data}`)
},
//成为下级客户
becomepokesmanCustomer(params) {
return requestPOST(`${process.env.OLSHOP_URL}/spokesman/becomepokesmanCustomer/`+params+``, {})
},
//绑定上级关系
saveCustomerInviterInviteeRel(params) {
return requestPOST(`${process.env.OLSHOP_URL}/user/saveCustomerInviterInviteeRel/`+params+``, {})
},
}; };
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment