Przeglądaj źródła

xiugai apitt的

lvhao 18 godzin temu
rodzic
commit
cd883aa410
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6 1
      core/CoreApp/controllers/Apitt.php

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

@@ -805,7 +805,12 @@ $j = json_decode($j, true);
 								//判断是否是礼物  礼物不计数
 								$is_gift_str = substr($num[0], 0, 3);
 								if($is_gift_str != '131'){
-									$ts += $num[1];
+									if(isset($num[1])){
+										$ts += $num[1];
+									}else{
+										$this->logic_ding->sendToDing("TT订单的判断礼物异常".json_encode($post).json_encode($num));
+									}
+									
 								}
 								
 							}