no message

This commit is contained in:
kuaifan 2024-05-31 13:47:42 +08:00
parent bb163605af
commit d3514a0334
9 changed files with 19 additions and 21 deletions

View File

@ -11,6 +11,7 @@ use App\Module\Base;
* @property int|null $project_id 项目ID * @property int|null $project_id 项目ID
* @property int|null $column_id 列表ID * @property int|null $column_id 列表ID
* @property int|null $task_id 任务ID * @property int|null $task_id 任务ID
* @property int|null $task_only 仅任务日志0否1是
* @property int|null $userid 会员ID * @property int|null $userid 会员ID
* @property string|null $detail 详细信息 * @property string|null $detail 详细信息
* @property array $record 记录数据 * @property array $record 记录数据
@ -34,6 +35,7 @@ use App\Module\Base;
* @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereProjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereRecord($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereRecord($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereTaskId($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereTaskId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereTaskOnly($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereUserid($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectLog whereUserid($value)
* @mixin \Eloquent * @mixin \Eloquent

View File

@ -15,6 +15,7 @@ use Carbon\Carbon;
* @property int|null $silence 是否免打扰0否1是 * @property int|null $silence 是否免打扰0否1是
* @property int|null $email 是否发了邮件 * @property int|null $email 是否发了邮件
* @property int|null $after 在阅读之后才添加的记录 * @property int|null $after 在阅读之后才添加的记录
* @property int|null $dot 红点标记
* @property string|null $read_at 阅读时间 * @property string|null $read_at 阅读时间
* @property-read \App\Models\WebSocketDialogMsg|null $webSocketDialogMsg * @property-read \App\Models\WebSocketDialogMsg|null $webSocketDialogMsg
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel cancelAppend() * @method static \Illuminate\Database\Eloquent\Builder|AbstractModel cancelAppend()
@ -28,6 +29,7 @@ use Carbon\Carbon;
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel saveOrIgnore() * @method static \Illuminate\Database\Eloquent\Builder|AbstractModel saveOrIgnore()
* @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereAfter($value) * @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereAfter($value)
* @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereDialogId($value) * @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereDialogId($value)
* @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereDot($value)
* @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereEmail($value) * @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereMention($value) * @method static \Illuminate\Database\Eloquent\Builder|WebSocketDialogMsgRead whereMention($value)

View File

@ -2,7 +2,6 @@
use App\Models\Project; use App\Models\Project;
use App\Models\ProjectTask; use App\Models\ProjectTask;
use Carbon\Carbon;
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;

View File

@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class InsertSettingColumnTemplate extends Migration class InsertSettingColumnTemplate extends Migration
{ {

View File

@ -16,7 +16,7 @@ class FilesUpdateExt extends Migration
*/ */
public function up() public function up()
{ {
File::whereIn('type', ['mind', 'drawio', 'document'])->where('ext', '')->orderBy('id')->chunk(100, function($files) { File::whereIn('type', ['mind', 'drawio', 'document'])->where('ext', '')->chunkById(100, function($files) {
/** @var File $file */ /** @var File $file */
foreach ($files as $file) { foreach ($files as $file) {
$fileContent = FileContent::whereFid($file->id)->orderByDesc('id')->first(); $fileContent = FileContent::whereFid($file->id)->orderByDesc('id')->first();

View File

@ -1,10 +1,7 @@
<?php <?php
@error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); @error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
use App\Models\User;
use App\Models\WebSocketDialog;
use App\Module\Base; use App\Module\Base;
use Carbon\Carbon;
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
class AllGroupMuteHandle extends Migration class AllGroupMuteHandle extends Migration

File diff suppressed because one or more lines are too long

View File

@ -5,15 +5,15 @@
<meta name="description" content="APP接口文档"> <meta name="description" content="APP接口文档">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="assets/bootstrap.min.css?v=1715439726250" rel="stylesheet" media="screen"> <link href="assets/bootstrap.min.css?v=1717150455591" rel="stylesheet" media="screen">
<link href="assets/prism.css?v=1715439726250" rel="stylesheet" /> <link href="assets/prism.css?v=1717150455591" rel="stylesheet" />
<link href="assets/prism-toolbar.css?v=1715439726250" rel="stylesheet" /> <link href="assets/prism-toolbar.css?v=1717150455591" rel="stylesheet" />
<link href="assets/prism-diff-highlight.css?v=1715439726250" rel="stylesheet" /> <link href="assets/prism-diff-highlight.css?v=1717150455591" rel="stylesheet" />
<link href="assets/main.css?v=1715439726250" rel="stylesheet" media="screen, print"> <link href="assets/main.css?v=1717150455591" rel="stylesheet" media="screen, print">
<link href="assets/favicon.ico?v=1715439726250" rel="icon" type="image/x-icon"> <link href="assets/favicon.ico?v=1717150455591" rel="icon" type="image/x-icon">
<link href="assets/apple-touch-icon.png?v=1715439726250" rel="apple-touch-icon" sizes="180x180"> <link href="assets/apple-touch-icon.png?v=1717150455591" rel="apple-touch-icon" sizes="180x180">
<link href="assets/favicon-32x32.png?v=1715439726250" rel="icon" type="image/png" sizes="32x32"> <link href="assets/favicon-32x32.png?v=1717150455591" rel="icon" type="image/png" sizes="32x32">
<link href="assets/favicon-16x16.png?v=1715439726250" rel="icon" type="image/png" sizes="16x16"> <link href="assets/favicon-16x16.png?v=1717150455591" rel="icon" type="image/png" sizes="16x16">
</head> </head>
<body class="container-fluid"> <body class="container-fluid">
@ -1042,6 +1042,6 @@
</div> </div>
</div> </div>
<script src="assets/main.bundle.js?v=1715439726250"></script> <script src="assets/main.bundle.js?v=1717150455591"></script>
</body> </body>
</html> </html>

View File

@ -378,8 +378,8 @@ export default {
{ value: "ldap", label: "LDAP", sort: 16 }, { value: "ldap", label: "LDAP", sort: 16 },
{ value: "mail", label: "邮件通知", sort: 17 }, { value: "mail", label: "邮件通知", sort: 17 },
{ value: "appPush", label: "APP 推送", sort: 18 }, { value: "appPush", label: "APP 推送", sort: 18 },
{ value: "allUser", label: "团队管理", sort: 19 }, { value: "complaint", label: "举报管理", sort: 19 },
{ value: "complaint", label: "举报管理", sort: 20 } { value: "allUser", label: "团队管理", sort: 20 },
]) ])
} }
adminApplyList = adminApplyList.map((h) => { adminApplyList = adminApplyList.map((h) => {