chore(config): Make Nacos namespace configurable

- Replace hardcoded public namespace with NACOS_NAMESPACE
- Document nacos init container troubleshooting for 1Panel deploy
This commit is contained in:
Toys-A
2026-08-07 03:04:33 +08:00
parent 16e9d7f9bd
commit 05988c4325
21 changed files with 217 additions and 41 deletions
@@ -48,16 +48,16 @@
video_id as videoId,
SUM(
CASE
<foreach collection="weights.entrySet()" item="entry">
WHEN behavior_type = #{entry.key} THEN behavior_weight * #{entry.value}
<foreach collection="weights" index="behaviorType" item="weight">
WHEN behavior_type = #{behaviorType} THEN behavior_weight * #{weight}
</foreach>
ELSE behavior_weight
END
) as score
FROM recommend_user_behavior
WHERE
WHERE 1 = 1
<if test="startTime != null">
create_time >= #{startTime}
AND create_time >= #{startTime}
</if>
<if test="behaviorTypes != null and behaviorTypes.size > 0">
AND behavior_type IN
@@ -69,4 +69,4 @@
ORDER BY score DESC
LIMIT #{limit}
</select>
</mapper>
</mapper>