|
@@ -1,8 +1,6 @@
|
|
|
package com.caimei.www.controller.authorized;
|
|
|
|
|
|
import com.caimei.www.controller.BaseController;
|
|
|
-import com.caimei.www.service.page.AccountService;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
@@ -18,6 +16,8 @@ public class AccountController extends BaseController {
|
|
|
private static final String LOGIN_PATH = "account/login";
|
|
|
/** 注册 */
|
|
|
private static final String REGISTER_PATH = "account/register";
|
|
|
+ private static final String REGISTER_SUPPLIER = "account/register-supplier";
|
|
|
+ private static final String REGISTER_CLUB = "account/register-club";
|
|
|
/** 升级会员机构 */
|
|
|
private static final String UPGRADE_PATH = "account/upgrade";
|
|
|
/** 忘记密码 */
|
|
@@ -25,11 +25,6 @@ public class AccountController extends BaseController {
|
|
|
/** 绑定运营人员 */
|
|
|
private static final String BIND_PATH = "account/bind";
|
|
|
|
|
|
- private AccountService accountService;
|
|
|
- @Autowired
|
|
|
- public void setAccountService(AccountService accountService) {
|
|
|
- this.accountService = accountService;
|
|
|
- }
|
|
|
|
|
|
/**
|
|
|
* 登录页
|
|
@@ -40,13 +35,30 @@ public class AccountController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 注册页
|
|
|
+ * 注册选择页
|
|
|
*/
|
|
|
@GetMapping("/register.html")
|
|
|
public String signUp() {
|
|
|
return REGISTER_PATH;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 注册选择页
|
|
|
+ */
|
|
|
+ @GetMapping("/supplier/register.html")
|
|
|
+ public String signUpSupplier() {
|
|
|
+ return REGISTER_SUPPLIER;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 注册选择页
|
|
|
+ */
|
|
|
+ @GetMapping("/club/register.html")
|
|
|
+ public String signUpClub() {
|
|
|
+ return REGISTER_CLUB;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 机构升级
|
|
|
*/
|