|
@@ -352,6 +352,10 @@ public class IndexController {
|
|
|
if (admin == null) {
|
|
|
return "找不到商家";
|
|
|
}
|
|
|
+ Integer type = admin.getType();
|
|
|
+ if (type != null && type == 3) {
|
|
|
+ return "账号类型错误,请使用商家账号绑定";
|
|
|
+ }
|
|
|
//所属商家
|
|
|
String username = admin.getUsername();
|
|
|
equipmentApply.setAdminId(adminId);
|