|
|
@@ -225,7 +225,8 @@ class DouYinController extends BaseApiController
|
|
|
$params = $this->request->post();
|
|
|
Log::info('submitOrderNotify:'.formatLogData($params));
|
|
|
$msg = is_array($params['msg'])?$params['msg']:json_decode($params['msg'],true);
|
|
|
- $res = DouYinService::submitOrderNotify($msg);
|
|
|
+ if($params['type'] == 'pre_create_order') $res = DouYinService::submitOrderNotify($msg);
|
|
|
+ //if($params['type'] == 'pre_create_refund') $res = DouYinService::refundOrderNotify($msg);
|
|
|
Log::info("submitOrderNotify:".formatLogData($res));
|
|
|
if($res){
|
|
|
return json(["err_no"=>0,"err_tips"=>"","data"=>$res], 200);
|