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
97647fc1
Commit
97647fc1
authored
Aug 28, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
🎸
用户更新时间
parent
ca89e37c
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
user.service.js
v2.0/dist/service/user.service.js
+3
-1
user.service.js.map
v2.0/dist/service/user.service.js.map
+1
-1
user.service.ts
v2.0/src/service/user.service.ts
+3
-1
No files found.
v2.0/dist/service/user.service.js
View file @
97647fc1
...
...
@@ -239,7 +239,9 @@ var UserService = /** @class */ (function (_super) {
isFollow
=
data
.
isFollow
;
today
=
utils_1
.
getToday
();
projection
=
{
$set
:
{},
$set
:
{
updateTime
:
Date
.
now
()
},
$push
:
{},
$inc
:
(
_a
=
{},
_a
[
"login."
+
today
]
=
1
,
...
...
v2.0/dist/service/user.service.js.map
View file @
97647fc1
This diff is collapsed.
Click to expand it.
v2.0/src/service/user.service.ts
View file @
97647fc1
...
...
@@ -135,7 +135,9 @@ class UserService extends BaseService {
const
today
=
getToday
()
let
projection
=
{
$set
:
{},
$set
:
{
updateTime
:
Date
.
now
()
},
$push
:
{},
$inc
:
{
[
`login.
${
today
}
`
]:
1
...
...
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