Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_server_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
0d152ffd
authored
Aug 22, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
红包活动添加描述(description)字段
parent
1a81ab1d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
app/Http/Controllers/IntegralsController.php
storage/laravels.json
storage/laravels.pid
app/Http/Controllers/IntegralsController.php
View file @
0d152ffd
...
...
@@ -57,6 +57,7 @@ class IntegralsController extends Controller
{
$data
=
[
'name'
=>
$request
->
name
,
'description'
=>
$request
->
description
,
'daily_limit'
=>
$request
->
daily_limit
,
'amount'
=>
$request
->
amount
,
'add_time'
=>
time
(),
...
...
@@ -82,6 +83,7 @@ class IntegralsController extends Controller
$id
=
$request
->
id
;
$data
=
[
'name'
=>
$request
->
name
,
'description'
=>
$request
->
description
,
'amount'
=>
$request
->
amount
,
'status'
=>
$request
->
status
,
'daily_limit'
=>
$request
->
daily_limit
,
...
...
@@ -102,7 +104,7 @@ class IntegralsController extends Controller
* @param Integral $integral
* @return array
*/
public
function
destroy
(
Request
$request
,
Integral
$integral
)
public
function
destroy
(
Request
$request
,
Integral
$integral
)
{
$ids
=
$request
->
ids
;
$ids
=
explode
(
','
,
trim
(
$ids
));
...
...
storage/laravels.json
View file @
0d152ffd
This diff is collapsed.
Click to expand it.
storage/laravels.pid
View file @
0d152ffd
25778
\ No newline at end of file
25816
\ No newline at end of file
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