|
|
@@ -11,6 +11,7 @@ use app\common\repositories\merchant\MerchantRepository;
|
|
11
|
11
|
use app\traits\HaikeApiRequest;
|
|
12
|
12
|
use app\traits\HuiPay;
|
|
13
|
13
|
use think\App;
|
|
|
14
|
+use think\Exception;
|
|
14
|
15
|
use crmeb\basic\BaseController;
|
|
15
|
16
|
use app\common\repositories\merchant\order\OrderMerchantRepository as repository;
|
|
16
|
17
|
use think\facade\Cache;
|
|
|
@@ -749,6 +750,7 @@ class OrderMerchant extends BaseController
|
|
749
|
750
|
return app('json')->success(['result' => 'ERROR']);
|
|
750
|
751
|
return app('json')->success(['result' => 'SUCCESS']);
|
|
751
|
752
|
}catch (Exception $exception){
|
|
|
753
|
+ Db::name("log")->insert(array('data'=>$exception->getFile().':'.$exception->getLine().'【'.$exception->getMessage().'】'));
|
|
752
|
754
|
return app('json')->fail('错误2');
|
|
753
|
755
|
}
|
|
754
|
756
|
}
|