|
@@ -20,13 +20,13 @@ class WelfareController extends BaseController
|
|
$token = trim($request->input('token'));
|
|
$token = trim($request->input('token'));
|
|
if(!$token)
|
|
if(!$token)
|
|
{
|
|
{
|
|
- return reponse('参数有误');
|
|
|
|
|
|
+ return response('参数有误');
|
|
}
|
|
}
|
|
|
|
|
|
$giving = DB::table('book_coin_givings')->where('token',$token)->first();
|
|
$giving = DB::table('book_coin_givings')->where('token',$token)->first();
|
|
if(!$giving)
|
|
if(!$giving)
|
|
{
|
|
{
|
|
- return reponse('参数有误');
|
|
|
|
|
|
+ return response('参数有误');
|
|
}
|
|
}
|
|
|
|
|
|
//判断是否结束
|
|
//判断是否结束
|