feat: add bylaw management features including documents, legal authorities, subject categories, and nodes
This commit is contained in:
@@ -10,13 +10,13 @@ class SuggestionController extends Controller
|
||||
{
|
||||
use BaseApiResponse;
|
||||
|
||||
public function index(SuggestionRequest $requst)
|
||||
public function index(SuggestionRequest $requst)
|
||||
{
|
||||
Suggestion::create([
|
||||
'user_id' => auth()->user()->id,
|
||||
'text' => $requst->text
|
||||
'text' => $requst->text,
|
||||
]);
|
||||
|
||||
return $this->success(null,'موفقیت','پیشنهاد شما با موفقیت برای مدیر ارسال شد');
|
||||
return $this->success(null, 'موفقیت', 'پیشنهاد شما با موفقیت برای مدیر ارسال شد');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user