You've already forked FrameTour-BE
feat(mobile): 增强人脸数据访问控制并优化订单查询逻辑
- 在删除人脸数据前增加用户权限校验,确保操作安全 - 移除订单详情接口中的用户身份强制绑定,简化查询流程 - 更新视频与图片资源查询方法,去除冗余的用户ID参数 - 调整Mapper层SQL语句,解耦人脸关联数据对用户的依赖 - 优化服务层代码结构,提升数据获取效率与一致性
This commit is contained in:
@@ -396,11 +396,6 @@
|
||||
o.scenic_id
|
||||
from `order` AS o
|
||||
left join face f on o.face_id = f.id
|
||||
<where>
|
||||
<if test="memberId!=null">
|
||||
and o.member_id=#{memberId}
|
||||
</if>
|
||||
</where>
|
||||
order by o.create_at desc
|
||||
</select>
|
||||
<select id="appDetail" resultMap="AppBaseResultMap">
|
||||
|
||||
Reference in New Issue
Block a user