소스 검색

提交数据信息

lvhao 1 개월 전
부모
커밋
ac2affc46f
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      core/CoreApp/controllers/Apitt.php

+ 7 - 1
core/CoreApp/controllers/Apitt.php

@@ -1233,7 +1233,13 @@ $j = json_decode($j, true);
 
 
 					//reverse_event_type
 					//reverse_event_type
 					if(isset($j['data']) && $d['state'] != 214){
 					if(isset($j['data']) && $d['state'] != 214){
-						if($j['data']['reverse_event_type'] == 'ORDER_RETURN'){
+						if( 
+							($j['data']['reverse_event_type'] == 'ORDER_RETURN') 
+							|| 
+							($j['data']['reverse_event_type'] == 'ORDER_REQUEST_CANCEL')
+							||
+							($j['data']['reverse_event_type'] == 'CANCEL')
+						){
 							if($d['library'] == 1){
 							if($d['library'] == 1){
 								$whlabel = $this->whlabel->find_all("zd = '".$d['number']."'");
 								$whlabel = $this->whlabel->find_all("zd = '".$d['number']."'");
 								foreach ($whlabel as $v) 
 								foreach ($whlabel as $v)