- 博客(7)
- 收藏
- 关注
原创 phpthink6 前后端验证时间戳和签名认证
后端中间件验证class Safe{ /** * 处理请求 * * @param \think\Request $request * @param \Closure $next * @return Response */ public function handle($request, \Closure $next) { try { // #
2022-02-14 20:47:38
1078
原创 thinkphp6 公共方法
<?php// 这是系统自动生成的公共文件//公共响应函数if (!function_exists("responses")) { function responses($code, $msg, $data): \think\response\Json { return json([ 'code' => $code, 'msg' => $msg, 'data' =&g...
2021-12-02 13:18:58
751
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人