소스 검색

jumi_sec callback official_sn

xiaoyu 2 년 전
부모
커밋
494541cce9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      helper/refill/api/xyz/jumi_sec/RefillCallBack.php

+ 2 - 0
helper/refill/api/xyz/jumi_sec/RefillCallBack.php

@@ -58,6 +58,8 @@ class RefillCallBack implements refill\IRefillCallBack
         $order_id = $order_info['order_id'];
 
         if ($status === 2) {
+            $data['official_sn'] = strtolower($params['s_nubmer']) == 'null' ? '' : $params['s_nubmer'];
+            Model('refill_order')->edit($order_id, $data);
             return [$order_id, true, false, true];
         } elseif ($status === 3) {
             return [$order_id, false, true, true];