Explorar o código

修改商铺和互助组功能

loovi hai 1 ano
pai
achega
4544817de2

+ 2 - 1
sp-service/level-one-server/src/main/java/com/pj/tb_enterprise/TbEnterpriseService.java

@@ -12,6 +12,7 @@ import com.alibaba.excel.event.AnalysisEventListener;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.pj.api.client.admin.AdminInterface;
 import com.pj.current.satoken.StpUserUtil;
+import com.pj.enummj.People;
 import com.pj.utils.sg.AjaxJson;
 import com.pj.utils.so.SoMap;
 import org.apache.commons.lang3.StringUtils;
@@ -109,7 +110,7 @@ public class TbEnterpriseService extends ServiceImpl<TbEnterpriseMapper, TbEnter
 		int isLock = tbEnterprise.getIsLock();
 		// 如果商户被锁住则禁止app端登录
 		// TODO
-		adminInterface.isLock(String.valueOf(tbEnterprise.getId()), 0,isLock);
+		adminInterface.isLock(String.valueOf(tbEnterprise.getId()), People.PEOPLE_TYPE_TWO.getCode(),isLock);
 
 		return line;
 	}