Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
841a3502
Commit
841a3502
authored
Apr 10, 2020
by
程智春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播小程序
parent
e985734f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/api/live.js
+12
-0
No files found.
src/api/live.js
View file @
841a3502
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment