diff --git a/Application/Admin/Controller/DeductBindRecordController.class.php b/Application/Admin/Controller/DeductBindRecordController.class.php index f0534ea09..02236b4e2 100644 --- a/Application/Admin/Controller/DeductBindRecordController.class.php +++ b/Application/Admin/Controller/DeductBindRecordController.class.php @@ -41,6 +41,8 @@ class DeductBindRecordController extends ThinkController { public function deductBindBalance(){ if(IS_POST){ + $_REQUEST['user_id'] = (M('user','tab_')->field('id')->where(['account'=>$_REQUEST['user_id']])->find())['id']; + if(!isset($_REQUEST['user_id']) || $_REQUEST['user_id']<1){ $this->error("请选择账号"); }