Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3980aed2
authored
Aug 21, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
配合服务解决$request->all()的代码问题(后台部分暂时没有解决)
parent
1007f502
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
app/Http/Controllers/Api/ExchangeSettingsApiController.php
app/Http/Controllers/Api/IntegralsApiController.php
app/Http/Controllers/Api/UserIntegralsApiController.php
app/Http/Controllers/Api/ExchangeSettingsApiController.php
View file @
3980aed2
...
...
@@ -63,7 +63,7 @@ class ExchangeSettingsApiController extends Controller
{
$id
=
$request
->
id
;
$status
=
$request
->
status
;
$path
=
'/exchange_settings/update?id='
.
$id
;
$path
=
'/exchange_settings/update
Status
?id='
.
$id
;
$result
=
$this
->
service
->
changeExchangeSettingStatus
(
$path
,
[
'status'
=>
$status
]);
return
$result
;
...
...
app/Http/Controllers/Api/IntegralsApiController.php
View file @
3980aed2
...
...
@@ -68,7 +68,7 @@ class IntegralsApiController extends Controller
{
$id
=
$request
->
id
;
$status
=
$request
->
status
;
$path
=
'integrals/update?id='
.
$id
;
$path
=
'integrals/update
Status
?id='
.
$id
;
$result
=
$this
->
service
->
changeIntegralStatus
(
$path
,
[
'status'
=>
$status
]);
return
$result
;
...
...
app/Http/Controllers/Api/UserIntegralsApiController.php
View file @
3980aed2
...
...
@@ -48,7 +48,7 @@ class UserIntegralsApiController extends Controller
{
$id
=
$request
->
id
;
$status
=
$request
->
status
;
$path
=
'user_integrals/update?id='
.
$id
;
$path
=
'user_integrals/update
Status
?id='
.
$id
;
$result
=
$this
->
service
->
changeUserIntegralStatus
(
$path
,
[
'status'
=>
$status
]);
return
$result
;
...
...
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