Explorar o código

update

Signed-off-by: anderx <312518615@qq.com>
anderx %!s(int64=5) %!d(string=hai) anos
pai
achega
9f3519f575

+ 3 - 3
src/main/java/com/goafanti/demandCollection/controller/DemandCollectionApiController.java

@@ -62,15 +62,15 @@ public class DemandCollectionApiController  extends CertifyApiController {
 	 * @return
 	 */
 	@RequestMapping(value="/open/login",method = RequestMethod.POST)
-	public Result demandCollectionList(String account ,String password){
+	public Result demandCollectionList(String userName ,String password){
 		Result res =new Result();
 		//模拟登陆
-		if (account==null||password==null) {
+		if (userName==null||password==null) {
 			res.getError().add(buildError("账号密码不能为空!","账号密码不能为空!"));
 			return  res ;
 		}
 		SkjtUser user=new SkjtUser();
-		user.setAccount(account);
+		user.setAccount(userName);
 		user.setPassword(password);
 		res.setData(TokenManager.skjtLogin(user, true));
 		return res;