lizhen_gitee 3 settimane fa
parent
commit
1cfec93ecf

+ 1 - 1
app/Global/System.php

@@ -269,7 +269,7 @@ function __system__admin__config__($tenant_id = 0){
         'directory' => $tenant_id == 0 ? app_path('Admin') : app_path('Admin_1'),
         'title' =>  $tenant_id == 0 ? env('MAIN_SITE_ADMIN_NAME', 'MiniSNS Admin') : env('TENANT_ADMIN_NAME', 'MiniSNS Admin'),
         'assets_server' => env('ADMIN_ASSETS_SERVER'),
-        'https' => true,
+        'https' => false, //全站是否使用https
         'auth' => [
             'enable' => true,
             'controller' => App\Admin\Controllers\AuthController::class,

+ 1 - 1
app/Global/check.php

@@ -8,7 +8,7 @@ if (!extension_loaded('fileinfo')) {
     exit('<h2>php扩展未安装fileinfo或未重启生效!</h2>');
 }
 if (!class_exists('Imagick')) {
-    exit('<h2>php扩展未安装imagemagick或未重启生效!</h2>');
+    //exit('<h2>php扩展未安装imagemagick或未重启生效!</h2>');
 }
 if (!extension_loaded('zip')) {
     exit('<h2>php扩展未安装zip或未重启生效!</h2>');

+ 1 - 0
app/Http/Controllers/Api/UserController.php

@@ -2241,6 +2241,7 @@ class UserController extends BaseController
         $user_name = $data['user_name'];
         $user_introduce = $data['user_introduce'] ?? '';
 
+        // 用户修改资料
         // 百度审核
         $need_manual_review = true;
         $is_audit_user_info = Settings::get('is_audit_user_info', 0);

+ 1 - 0
app/Wen/Utils/UserUtils.php

@@ -3045,6 +3045,7 @@ class UserUtils{
         if(_empty_($userId)){
             return 0;
         }
+        //这里有10分钟缓存,所以可能对不上
         return (int)(Cache::remember('user_circle_unread_count:'.$userId, 600, function () use (&$userId){
             // 提前获取用户最近一次访问每个圈子的时间
             $userVisits = DB::table('wx_user_visit')