dever 3 년 전
부모
커밋
d99fe4e282
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      app/shop/src/My.php

+ 4 - 0
app/shop/src/My.php

@@ -173,6 +173,10 @@ class My extends Core
         $info['status_name'] = $this->config['status'][$info['status']];
         $info['method_name'] = $this->config['method'][$info['method']];
 
+        if ($info['status'] == 2) {
+            $info['status_name'] = '支付成功';
+        }
+
         if ($info['method'] == 2 && $info['status'] > 1) {
             # 如果是外送,需要读取外送单号
         }