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
40026aed
authored
Sep 02, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加提示文字
parent
871ddf3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
app/Http/Controllers/Api/IntegralsApiController.php
resources/views/web/createIntegral.blade.php
resources/views/web/updateIntegral.blade.php
app/Http/Controllers/Api/IntegralsApiController.php
View file @
40026aed
...
...
@@ -48,6 +48,7 @@ class IntegralsApiController extends Controller
$data
=
[
'name'
=>
$request
->
name
,
'description'
=>
$request
->
description
,
'tips'
=>
$request
->
tips
,
'amount'
=>
$request
->
amount
,
'status'
=>
$request
->
status
,
'daily_limit'
=>
$request
->
daily_limit
,
...
...
@@ -62,6 +63,7 @@ class IntegralsApiController extends Controller
$data
=
[
'name'
=>
$request
->
name
,
'description'
=>
$request
->
description
,
'tips'
=>
$request
->
tips
,
'amount'
=>
$request
->
amount
,
'status'
=>
$request
->
status
,
'daily_limit'
=>
$request
->
daily_limit
,
...
...
resources/views/web/createIntegral.blade.php
View file @
40026aed
...
...
@@ -14,6 +14,12 @@
<textarea
name=
"description"
placeholder=
"请输入描述"
class=
"layui-textarea"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-form-text"
>
<label
class=
"layui-form-label"
>
红包提示文字(可不填)
</label>
<div
class=
"layui-input-block"
>
<textarea
name=
"tips"
placeholder=
"请输入提示文字"
class=
"layui-textarea"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
奖励金额
</label>
<div
class=
"layui-input-block"
>
...
...
resources/views/web/updateIntegral.blade.php
View file @
40026aed
...
...
@@ -17,6 +17,12 @@
placeholder=
"请输入描述"
class=
"layui-textarea"
>
{{$integral['description']}}
</textarea>
</div>
</div>
<div
class=
"layui-form-item layui-form-text"
>
<label
class=
"layui-form-label"
>
红包提示文字(可不填)
</label>
<div
class=
"layui-input-block"
>
<textarea
name=
"tips"
placeholder=
"请输入提示文字"
class=
"layui-textarea"
>
{{$integral['tips']}}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
奖励金额
</label>
<div
class=
"layui-input-block"
>
...
...
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