hrjy 2 years ago
parent
commit
20225bbff3
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Application/Mobile/Controller/IndexController.class.php

+ 4 - 4
Application/Mobile/Controller/IndexController.class.php

@@ -99,7 +99,7 @@ class IndexController extends MobileController
 
 	//修改密码处理
 	public function sub_respwd($oldpwd,$newpwd){
-		if($_POST){
+//		if($_POST){
 			if(checkstr($oldpwd) || checkstr($newpwd)){
 				$this->ajaxReturn(['code'=>0,'info'=>L('您输入的信息有误')]);
 			}
@@ -119,9 +119,9 @@ class IndexController extends MobileController
 				$this->ajaxReturn(['code'=>0,'info'=>L('密码修改失败')]);
 			}
 
-		}else{
-			$this->ajaxReturn(['code'=>0,'info'=>L('非法操作')]);
-		}
+//		}else{
+//			$this->ajaxReturn(['code'=>0,'info'=>L('非法操作')]);
+//		}
 	}
 
 	//推广页面