one_after 2 月之前
父节点
当前提交
cee57ef33c
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/controller/WithdrawController.php

+ 1 - 2
app/controller/WithdrawController.php

@@ -263,8 +263,7 @@ class WithdrawController
                 ]);
                 StreamBusiness::delStream($param['user_data']['id'], 2000000, streamType48, moldType18, moldTypefild18, $param['user_data']['id']);
                 Db::table('wa_my_goods')
-                    ->where('user_id', $param['user_data']['id'])
-                    ->where('goods_id', $param['goods_id'])
+                    ->where('id', $param['goods_id'])
                     ->decrement('balance', 2000000);
 
             } else {