控制,未使用的模板发布,防止查询异常

This commit is contained in:
liyj 2025-12-15 16:19:38 +08:00
parent 74ba36ebd6
commit 7938cad0cc

View File

@ -463,6 +463,7 @@ public class ShopPageAppController extends BaseControllerImpl {
return CommonResult.failed("不存在模板");
}
String storeId= user.getStore_id();
shopPageApp.setApp_is_use(0);
if(user.isPlatform()){
shopPageApp.setIs_pulish(isPublish);
shopPageAppService.edit(shopPageApp);