|
...
|
...
|
@@ -41,6 +41,8 @@ class BaseController extends Controller |
|
|
|
$this->manage = $info;
|
|
|
|
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
|
|
|
|
$this->uid = $info['id'];
|
|
|
|
//写入操作记录
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -124,4 +126,15 @@ class BaseController extends Controller |
|
|
|
$response = response($result,$result_code,$this->header);
|
|
|
|
throw new HttpResponseException($response);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :操作日志
|
|
|
|
* @name :userLog
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/1/17 10:29
|
|
|
|
*/
|
|
|
|
public function userLog(){
|
|
|
|
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|