XMTT 6 years ago
parent
commit
5206534fc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/ekexiu/portal/platform/PlatformService.java

+ 1 - 1
src/main/java/com/ekexiu/portal/platform/PlatformService.java

@ -177,7 +177,7 @@ public class PlatformService {
177 177
	}
178 178

179 179
	@SetCookie(checkResultNull = true, path = "/", value = { "plf_user=result.getId()", "plf_email=result.getEmail()",
180
			"plf_logo=result.getLogo()==null?\"\":result.getLogo()"})
180
			"plf_logo=result.getLogo()==null?\"\":result.getLogo()" , "plf_name=result.getName()==null?\"\":java.net.URLEncoder.encode(result.getName(),\"utf-8\")"})
181 181
	@Post
182 182
	@Path("/login")
183 183
	public LoginUserInfo login(@JdbcConn Connection con, String email, String pw) throws JfwBaseException, SQLException {