dever 3 năm trước cách đây
mục cha
commit
d99fe4e282
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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) {
             # 如果是外送,需要读取外送单号
         }