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