rabin 2 years ago
parent
commit
d21e29fd19
1 changed files with 3 additions and 0 deletions
  1. 3 0
      service/bill/lib/Manage.php

+ 3 - 0
service/bill/lib/Manage.php

@@ -162,15 +162,18 @@ class Manage
                     if ($tixian['type'] == 1) {
                         $w['where_id'] = $info['mid'];
                         $w['cash'] = -1*$tixian['ycash'];
+                        $w['clear'] = true;
                         Dever::db('agent/member')->upCash($w);
                     } elseif ($tixian['type'] == 2) {
                         $w['where_id'] = $info['shop_id'];
                         $w['price'] = -1*$tixian['ycash'];
+                        $w['clear'] = true;
                         Dever::db('shop/info')->upCash($w);
                         Dever::db($table)->update(array('where_id' => $info['id'], 'status' => 3, 'operdate' => time()));
                     } elseif ($tixian['type'] == 3) {
                         $w['where_id'] = $info['uid'];
                         $w['cash'] = -1*$tixian['ycash'];
+                        $w['clear'] = true;
                         Dever::db('passport/user')->upCash($w);
                     }