Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
040b48e0
Commit
040b48e0
authored
Aug 19, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt
parent
5c0959c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
activity.controller.js
server/duiba/controller/activity.controller.js
+1
-1
activitytop.service.js
server/duiba/service/activitytop.service.js
+1
-1
No files found.
server/duiba/controller/activity.controller.js
View file @
040b48e0
...
@@ -105,7 +105,7 @@ const saveActivityInfoByHasId = async function (context) {
...
@@ -105,7 +105,7 @@ const saveActivityInfoByHasId = async function (context) {
}
}
const
taskList
=
Object
.
keys
(
tasks
).
map
(
type
=>
{
const
taskList
=
Object
.
keys
(
tasks
).
map
(
type
=>
{
return
{
return
{
...
tasks
[
type
]
...
tasks
[
type
]
,
type
type
}
}
})
})
...
...
server/duiba/service/activitytop.service.js
View file @
040b48e0
...
@@ -58,7 +58,7 @@ class ActivityTopService {
...
@@ -58,7 +58,7 @@ class ActivityTopService {
let
result
=
await
this
.
activitySellerDao
.
find
({
let
result
=
await
this
.
activitySellerDao
.
find
({
openId
,
openId
,
});
});
return
{
session
:
result
.
accessToken
||
this
.
context
.
accessToken
};
return
{
session
:
(
result
.
length
&&
result
[
0
].
accessToken
)
||
this
.
context
.
accessToken
};
}
}
//淘宝top接口获取商品列表
//淘宝top接口获取商品列表
...
...
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