|
|
@@ -75,9 +75,6 @@ public class YhShopUserController {
|
|
|
public Result<String> setShopContact(@RequestBody YhShop yhShop) {
|
|
|
long userId = StpYhShopManageUser.getLoginIdAsLong();
|
|
|
String contact = yhShop.getContact();
|
|
|
- if (StrUtil.isEmpty(contact)) {
|
|
|
- throw BusinessRuntimeException.getInstance("请输入联系方式");
|
|
|
- }
|
|
|
YhShop dbShop = yhShopMapper.selectOne(Wrappers.lambdaQuery(YhShop.class)
|
|
|
.eq(YhShop::getUserId, userId).last("limit 1"));
|
|
|
if (dbShop == null) {
|