rabin 9 months ago
parent
commit
567d7707fd
2 changed files with 3 additions and 5 deletions
  1. 2 4
      database/yspay_merchant_log.php
  2. 1 1
      yspay/Merchant.php

+ 2 - 4
database/yspay_merchant_log.php

@@ -8,10 +8,8 @@ $type = array
 
 $tixian_status = array
 (
-    1 => '未提现',
-    2 => '提现中',
-    3 => '提现成功',
-    4 => '提现失败',
+    1 => '提现成功',
+    2 => '提现失败',
 );
 $link = Dever::decode(Dever::input('refer'));
 $button = array

+ 1 - 1
yspay/Merchant.php

@@ -178,7 +178,7 @@ class Merchant
     public function updateLog($id, $name, $data)
     {
         $tixian_status = Dever::param('tixian_status', $data);
-        if ($tixian_status == 4) {
+        if ($tixian_status == 2) {
             $info = Dever::db('pay/yspay_merchant_log')->one($id);
             if ($info) {
                 $cash = $info['cash'] * -1;