mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -21,8 +21,11 @@ class NoticeController extends Controller | ||||
|             'title', | ||||
|             'content' | ||||
|         ]); | ||||
|         if (!Notice::create($data)) { | ||||
|             abort(500, '保存失败'); | ||||
|         } | ||||
|         return response([ | ||||
|             'data' => Notice::create($data) | ||||
|             'data' => true | ||||
|         ]); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user