Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
service
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
1
Merge Requests
1
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
aimeiyue
service
Commits
1328dacb
Commit
1328dacb
authored
2 months ago
by
yink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修正变量名拼写错误
修复了查询余额方法中变量名拼写错误,将$useObj更正为$userObj,以确保正确获取用户角色ID
parent
e2fa1c48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
app/Http/Controllers/Api/HfSettleAccountController.php
+1
-1
No files found.
app/Http/Controllers/Api/HfSettleAccountController.php
View file @
1328dacb
...
...
@@ -202,7 +202,7 @@ public function queryBalance(Request $request)
{
$userObj
=
$request
->
user
();
//$member_type = $request->member_type ?? 0;
$role_id
=
$useObj
->
role_id
??
''
;
$role_id
=
$use
r
Obj
->
role_id
??
''
;
if
(
$role_id
==
1
)
{
//商家
$mid
=
$userObj
->
merchant_id
;
$member_id
=
HfCompanyMember
::
where
([
'merchant_id'
=>
$mid
,
'status'
=>
'succeeded'
])
->
value
(
'member_id'
);
...
...
This diff is collapsed.
Click to expand it.
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