@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | protected function mapWebRoutes() |
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | - ->namespace($this->namespace) |
|
| 56 | - ->group(base_path('routes/web.php')); |
|
| 55 | + ->namespace($this->namespace) |
|
| 56 | + ->group(base_path('routes/web.php')); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | protected function mapApiRoutes() |
| 67 | 67 | { |
| 68 | 68 | Route::prefix('api') |
| 69 | - ->middleware('api') |
|
| 70 | - ->namespace($this->namespace) |
|
| 71 | - ->group(base_path('routes/api.php')); |
|
| 69 | + ->middleware('api') |
|
| 70 | + ->namespace($this->namespace) |
|
| 71 | + ->group(base_path('routes/api.php')); |
|
| 72 | 72 | } |
| 73 | 73 | } |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | $statusCode=200; |
| 15 | 15 | } |
| 16 | 16 | $output=[ |
| 17 | - 'ret' => $statusCode, |
|
| 17 | + 'ret' => $statusCode, |
|
| 18 | 18 | 'desc' => is_null($desc) ? self::desc($statusCode) : $desc, |
| 19 | 19 | 'data' => $data |
| 20 | 20 | ]; |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | $statusCode=1000; |
| 28 | 28 | } |
| 29 | 29 | $output=[ |
| 30 | - 'ret' => $statusCode, |
|
| 30 | + 'ret' => $statusCode, |
|
| 31 | 31 | 'desc' => is_null($desc) ? self::desc($statusCode) : $desc, |
| 32 | 32 | 'data' => $data |
| 33 | 33 | ]; |
@@ -44,9 +44,9 @@ discard block |
||
| 44 | 44 | '451' => "Unavailable For Legal Reasons", |
| 45 | 45 | |
| 46 | 46 | '1000' => "Unspecified Response", /** Under normal condictions those errors shouldn't been displayed to end users |
| 47 | - * unless they attempt to do so, some submissions should be intercepted |
|
| 48 | - * by the frontend before the request sended |
|
| 49 | - */ |
|
| 47 | + * unless they attempt to do so, some submissions should be intercepted |
|
| 48 | + * by the frontend before the request sended |
|
| 49 | + */ |
|
| 50 | 50 | '1001' => "Internal Sever Error", |
| 51 | 51 | '1002' => "Service Currently Unavailable", |
| 52 | 52 | '1003' => "Missing Params", |
@@ -265,7 +265,7 @@ |
||
| 265 | 265 | $query=$query->where(["practice"=>$filter['practice']]); |
| 266 | 266 | } |
| 267 | 267 | $query->where('public', 1) |
| 268 | - ->where('audit_status', 1); |
|
| 268 | + ->where('audit_status', 1); |
|
| 269 | 269 | } |
| 270 | 270 | ) |
| 271 | 271 | ->orWhere( |
@@ -28,8 +28,8 @@ discard block |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return array |
|
| 32 | - */ |
|
| 31 | + * @return array |
|
| 32 | + */ |
|
| 33 | 33 | public function registerEvents(): array |
| 34 | 34 | { |
| 35 | 35 | return [ |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return \Illuminate\Support\Collection |
|
| 50 | - */ |
|
| 49 | + * @return \Illuminate\Support\Collection |
|
| 50 | + */ |
|
| 51 | 51 | public function collection() |
| 52 | 52 | { |
| 53 | 53 | $maxium = $this->config['maxium'] ?? false; |
@@ -150,10 +150,10 @@ |
||
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | - * Show the Problem Discussion Page. |
|
| 154 | - * |
|
| 155 | - * @return Response |
|
| 156 | - */ |
|
| 153 | + * Show the Problem Discussion Page. |
|
| 154 | + * |
|
| 155 | + * @return Response |
|
| 156 | + */ |
|
| 157 | 157 | public function discussion($pcode) |
| 158 | 158 | { |
| 159 | 159 | //TODO |