修正图片类型接口不显示的问题

This commit is contained in:
Easy 2022-02-16 19:17:50 +08:00
parent 7e47762ba1
commit c19b8996c9

View File

@ -60,9 +60,9 @@ class PushDeerMessageController extends Controller
$validated['type'] = 'markdown';
}
if (strtolower($validated['type'])=='image') {
$validated['text'] = '[图片]';
}
// if (strtolower($validated['type'])=='image') {
// $validated['text'] = '[图片]';
// }
$key = PushDeerKey::where('key', $validated['pushkey'])->get()->first();