Browse Source

手机和邮箱注册提交。

zzy.zhiyuan.foxmail 8 years ago
parent
commit
cad3134710
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/ekexiu/portal/service/SysService.java

+ 2 - 2
src/main/java/com/ekexiu/portal/service/SysService.java

@ -280,7 +280,7 @@ public class SysService {
280 280
	 */
281 281
	@Post
282 282
	@Path("/regmobile")
283
	public String regMobile(@JdbcConn(false) Connection con, String state, String mobilePhone, String validateCode, String password) throws SQLException {
283
	public String regMobile(@JdbcConn(true) Connection con, String state, String mobilePhone, String validateCode, String password) throws SQLException {
284 284
		@SuppressWarnings("unchecked")
285 285
		StateCode<String, String> sc = (StateCode<String, String>) JfwAppContext.getCachedObject(state);
286 286
		if (sc == null)
@ -315,7 +315,7 @@ public class SysService {
315 315
	 */
316 316
	@Post
317 317
	@Path("/regmail/{key}")
318
	public String regeMail(@JdbcConn(false) Connection con, @PathVar String key, String mail, String password) throws SQLException {
318
	public String regeMail(@JdbcConn(true) Connection con, @PathVar String key, String mail, String password) throws SQLException {
319 319
		@SuppressWarnings("unchecked")
320 320
		StateCode<String, String> sc = (StateCode<String, String>) JfwAppContext.getCachedObject(key);
321 321
		if (sc == null)