rabin %!s(int64=2) %!d(string=hai) anos
pai
achega
567d7707fd
Modificáronse 2 ficheiros con 3 adicións e 5 borrados
  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
 $tixian_status = array
 (
 (
-    1 => '未提现',
-    2 => '提现中',
-    3 => '提现成功',
-    4 => '提现失败',
+    1 => '提现成功',
+    2 => '提现失败',
 );
 );
 $link = Dever::decode(Dever::input('refer'));
 $link = Dever::decode(Dever::input('refer'));
 $button = array
 $button = array

+ 1 - 1
yspay/Merchant.php

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