瀏覽代碼

增加撤销出金功能

jace 6 年之前
父節點
當前提交
7dba23e288
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      normandcrm/service/backend/controllers/WithdrawController.php

+ 0 - 2
normandcrm/service/backend/controllers/WithdrawController.php

@@ -363,8 +363,6 @@ class WithdrawController extends BaseController
     public function actionRevokegold(){
         $id = (int) Yii::$app->request->post('id');
         $mt4_id = (int) Yii::$app->request->post('mt4_id');
-        file_put_contents('1009.txt',$id);
-        file_put_contents('100902.txt',$mt4_id);
         $res = Withdraw::updateAll(['mt4_status' => 0,'type' => 1], "id = $id");    //更新出金表的状态(不通过,未扣减)
 
         if($res){