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