Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
9eae2c4a
Commit
9eae2c4a
authored
Jun 07, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
4320c546
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
bpo-web/app/base/service/impl/lduserSve.js
+3
-1
bpo-web/app/base/wxapplet/impl/ldApplet.js
+3
-2
No files found.
bpo-web/app/base/service/impl/lduserSve.js
View file @
9eae2c4a
...
...
@@ -6,7 +6,9 @@ class LDUserService extends ServiceBase {
constructor
()
{
super
(
ServiceBase
.
getDaoName
(
LDUserService
));
}
async
getById
(
id
)
{
return
await
this
.
dao
.
model
.
findOne
({
where
:
{
id
:
id
},
raw
:
true
});
}
async
loginH5
(
params
)
{
let
p_id
=
params
.
p_id
;
let
p_user_id
=
params
.
p_user_id
;
...
...
bpo-web/app/base/wxapplet/impl/ldApplet.js
View file @
9eae2c4a
...
...
@@ -145,8 +145,9 @@ class LDApplet extends AppletBase {
if
(
!
loginInfo
)
{
return
system
.
getErrResult2
(
"登录过期,请重新登录"
);
}
loginInfo
.
user
.
p_user_balance
=
system
.
f2y
(
loginInfo
.
user
.
p_user_balance
);
return
system
.
getResult2
(
loginInfo
.
user
);
let
user
=
await
this
.
lduserSve
.
getById
(
loginInfo
.
user
.
id
);
user
.
p_user_balance
=
system
.
f2y
(
user
.
p_user_balance
);
return
system
.
getResult2
(
user
);
}
async
saveSignInfo
(
query
,
body
,
req
)
{
...
...
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