hrjy 3 年之前
父節點
當前提交
20225bbff3
共有 1 個文件被更改,包括 4 次插入4 次删除
  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('非法操作')]);
+//		}
 	}
 
 	//推广页面