修复送照片,支持送原片

This commit is contained in:
2025-07-21 14:04:19 +08:00
parent a5a7957f9e
commit ceaf10977d
6 changed files with 69 additions and 27 deletions

View File

@@ -127,7 +127,8 @@
image_source_pack_hint=#{imageSourcePackHint},
video_source_pack_hint=#{videoSourcePackHint},
extra_notification_time=#{extraNotificationTime},
photo_free_num= #{photoFreeNum}
photo_free_num= #{photoFreeNum},
video_free_num= #{videoFreeNum}
</set>
where id = #{id}
</update>

View File

@@ -42,6 +42,14 @@
</set>
where member_id = #{memberId} and face_id = #{faceId} and `type` = #{type}
</update>
<update id="freeRelations">
update member_source
set is_free = 1
where type = #{type} and id in
<foreach item="item" collection="ids" open="(" separator="," close=")">
#{item}
</foreach>
</update>
<delete id="deleteById">
delete from source where id = #{id}
</delete>