修改配置

This commit is contained in:
Jack 2025-11-11 23:25:11 +08:00
parent e9c42bdb99
commit 2ecfce1f2f
2 changed files with 21 additions and 21 deletions

View File

@ -2074,11 +2074,11 @@ public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseM
Integer product_sale_num = Convert.toInt(product_index_row.get("product_sale_num"));
// if (product_base_row != null) {
// // 获取店铺营业状态1-开业营业中且在营业时间内12-开业打烊中但在营业时间外 2-停业中3-开业或活动筹备中
// Pair<Integer, String> store_biz_state = shopStoreBaseService.getStoreBizState(Convert.toInt(product_base_row.get("store_id")));
// product_base_row.put("store_biz_state", store_biz_state.getFirst());
// }
if (product_base_row != null) {
// 获取店铺营业状态1-开业营业中且在营业时间内12-开业打烊中但在营业时间外 2-停业中3-开业或活动筹备中
Pair<Integer, String> store_biz_state = shopStoreBaseService.getStoreBizState(Convert.toInt(product_base_row.get("store_id")));
product_base_row.put("store_biz_state", store_biz_state.getFirst());
}
//虚拟销量
// todo 是否为商家后台访问

View File

@ -593,7 +593,7 @@
<forceTags>true</forceTags>
<imageTags>
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
<!-- <imageTag>latest</imageTag>-->
</imageTags>
<!--定义容器启动命令,注意不能换行-->
@ -601,9 +601,9 @@
</entryPoint>
<!-- 添加额外的Dockerfile指令来清理不必要的文件 -->
<runs>
<run>rm -rf /root/.m2 &amp;&amp; rm -rf /tmp/* &amp;&amp; rm -rf /var/cache/*</run>
</runs>
<!-- <runs>-->
<!-- <run>rm -rf /root/.m2 &amp;&amp; rm -rf /tmp/* &amp;&amp; rm -rf /var/cache/*</run>-->
<!-- </runs>-->
<resources>
<resource>