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
89381950
Commit
89381950
authored
Mar 13, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫导购码调绑定接口
parent
35a69906
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
src/api/index.js
+4
-0
src/pages/home/index.vue
+7
-0
No files found.
src/api/index.js
View file @
89381950
...
...
@@ -92,6 +92,9 @@ console.log(process.env,'-----------------config------')
uploadFile
(
data
)
{
return
requestPOST
(
`
${
process
.
env
.
OLSHOP_URL
}
/common/uploadFile`
,
data
)
},
allocation
(
data
)
{
return
requestPOST
(
`
${
process
.
env
.
OLSHOP_URL
}
/user/allocation`
,
data
)
},
}
\ No newline at end of file
src/pages/home/index.vue
View file @
89381950
...
...
@@ -457,6 +457,13 @@ export default {
// 判断是否为导购分享进入
if
(
paramsObj
.
setGuideEmployeeId
)
{
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
,
paramsObj
.
setGuideEmployeeId
);
// 有导购参数调接口绑关系
console
.
log
(
'setGuideEmployeeId'
,
paramsObj
.
setGuideEmployeeId
)
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
indexApi
.
allocation
({
employeeId
:
paramsObj
.
setGuideEmployeeId
,
})
}
}
if
(
paramsObj
.
QRCodeType
)
{
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
,
paramsObj
.
QRCodeType
);
...
...
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