wzq 5 年之前
父节点
当前提交
f2a4565a71
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Repositories/Post/PostRepository.php

+ 1 - 1
app/Repositories/Post/PostRepository.php

@@ -631,7 +631,7 @@ class PostRepository
 
         $logData = [
             'uid' => $token['user']->id,
-            'operator_type' => 'user',
+            'operator_type' => 'admin',
             'post_id' => $request['id'],
             'username' => $token['user']->username,
             'log_type' => 'delete',