瀏覽代碼

Merge branch 'dev' into pre

LuluFJ.Ho 2 年之前
父節點
當前提交
4b45d45d36
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0
    1
      app/Exceptions/Handler.php
  2. 0
    1
      app/Http/Controllers/Api/SeminarSignUpController.php

+ 0
- 1
app/Exceptions/Handler.php 查看文件

57
 
57
 
58
     public function handleApiException(Throwable $exception)
58
     public function handleApiException(Throwable $exception)
59
     { 
59
     { 
60
-        dd($exception);
61
         // Route Not Found 404
60
         // Route Not Found 404
62
         if ($exception instanceof RouteNotFoundException) {
61
         if ($exception instanceof RouteNotFoundException) {
63
             return $this->apiExceptionResponse($exception, Response::HTTP_NOT_FOUND, config('response-message.router_failed'));
62
             return $this->apiExceptionResponse($exception, Response::HTTP_NOT_FOUND, config('response-message.router_failed'));

+ 0
- 1
app/Http/Controllers/Api/SeminarSignUpController.php 查看文件

22
     // save data to db
22
     // save data to db
23
     public function insertData(StoreRequest $request)
23
     public function insertData(StoreRequest $request)
24
     {
24
     {
25
-        dd(123);
26
         $name = $this->safeEncrypt($request->input('name', 'name'), 'arm');
25
         $name = $this->safeEncrypt($request->input('name', 'name'), 'arm');
27
         $email = $this->safeEncrypt($request->input('email', 'email'), 'arm');
26
         $email = $this->safeEncrypt($request->input('email', 'email'), 'arm');
28
         $mobile = $this->safeEncrypt($request->input('mobile', 'mobile'), 'arm');
27
         $mobile = $this->safeEncrypt($request->input('mobile', 'mobile'), 'arm');