|
@@ -41,6 +41,8 @@ class BaseController extends Controller |
|
@@ -41,6 +41,8 @@ class BaseController extends Controller |
|
41
|
$this->manage = $info;
|
41
|
$this->manage = $info;
|
|
42
|
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
|
42
|
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
|
|
43
|
$this->uid = $info['id'];
|
43
|
$this->uid = $info['id'];
|
|
|
|
44
|
+ //写入操作记录
|
|
|
|
45
|
+
|
|
44
|
}
|
46
|
}
|
|
45
|
}
|
47
|
}
|
|
46
|
|
48
|
|
|
@@ -124,4 +126,15 @@ class BaseController extends Controller |
|
@@ -124,4 +126,15 @@ class BaseController extends Controller |
|
124
|
$response = response($result,$result_code,$this->header);
|
126
|
$response = response($result,$result_code,$this->header);
|
|
125
|
throw new HttpResponseException($response);
|
127
|
throw new HttpResponseException($response);
|
|
126
|
}
|
128
|
}
|
|
|
|
129
|
+
|
|
|
|
130
|
+ /**
|
|
|
|
131
|
+ * @remark :操作日志
|
|
|
|
132
|
+ * @name :userLog
|
|
|
|
133
|
+ * @author :lyh
|
|
|
|
134
|
+ * @method :post
|
|
|
|
135
|
+ * @time :2024/1/17 10:29
|
|
|
|
136
|
+ */
|
|
|
|
137
|
+ public function userLog(){
|
|
|
|
138
|
+
|
|
|
|
139
|
+ }
|
|
127
|
} |
140
|
} |