mirror of
https://github.com/easychen/pushdeer.git
synced 2026-09-01 15:34:45 +08:00
更新type为image时,通知文案的显示
This commit is contained in:
@@ -60,6 +60,10 @@ class PushDeerMessageController extends Controller
|
||||
$validated['type'] = 'markdown';
|
||||
}
|
||||
|
||||
if (strtolower($validated['type'])=='image') {
|
||||
$validated['text'] = '[图片]';
|
||||
}
|
||||
|
||||
$key = PushDeerKey::where('key', $validated['pushkey'])->get()->first();
|
||||
|
||||
$result = [];
|
||||
|
||||
Reference in New Issue
Block a user