修改日志名称
This commit is contained in:
@@ -85,7 +85,7 @@ class UserController extends Controller
|
||||
$res = $this->checkSign($request);
|
||||
$inputdata['jiemi'] = $res;
|
||||
|
||||
$log = $this->createLog($request->url(), 'POST', $inputdata, 'grant'); //添加日志
|
||||
$log = $this->createLog($request->url(), 'POST', $inputdata, 'query'); //添加日志
|
||||
|
||||
if (is_string($res)) {
|
||||
return $this->error($res, $log);
|
||||
@@ -121,7 +121,7 @@ class UserController extends Controller
|
||||
$inputdata = $request->all();
|
||||
$res = $this->checkSign($request);
|
||||
$inputdata['jiemi'] = $res;
|
||||
$log = $this->createLog($request->url(), 'POST', $inputdata, 'grant'); //添加日志
|
||||
$log = $this->createLog($request->url(), 'POST', $inputdata, 'destroy'); //添加日志
|
||||
|
||||
if (is_string($res)) {
|
||||
return $this->error($res, $log);
|
||||
@@ -156,7 +156,7 @@ class UserController extends Controller
|
||||
$res = $this->checkSign($request);
|
||||
$inputdata['jiemi'] = $res;
|
||||
//插入日志表
|
||||
$log = $this->createLog($request->url(), 'POST', $inputdata, 'self'); //添加日志
|
||||
$log = $this->createLog($request->url(), 'POST', $inputdata, 'freezecoupon'); //添加日志
|
||||
|
||||
if (!is_array($res)) {
|
||||
return $this->error($res, $log);
|
||||
|
||||
Reference in New Issue
Block a user