Commit 0d152ffd by 杨树贤

红包活动添加描述(description)字段

parent 1a81ab1d
......@@ -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));
......
25778
\ No newline at end of file
25816
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment