个人中心优化,增加上传头像接口1
This commit is contained in:
@@ -121,7 +121,7 @@ public class OrderInfoServiceImpl implements IOrderInfoService
|
||||
// 获取当前用户
|
||||
LoginUser loginUser = SecurityUtils.getLoginUser();
|
||||
if (loginUser == null) {
|
||||
return AjaxResult.error("用户未登录");
|
||||
return AjaxResult.error(401,"用户未登录");
|
||||
}
|
||||
|
||||
// 创建订单
|
||||
|
||||
@@ -167,6 +167,7 @@
|
||||
<if test="phone != null">phone = #{phone},</if>
|
||||
<if test="nickname != null">nickname = #{nickname},</if>
|
||||
<if test="sex != null">sex = #{sex},</if>
|
||||
<if test="headImg != null">head_img = #{headImg},</if>
|
||||
<if test="birthday != null">birthday = #{birthday},</if>
|
||||
<if test="addr != null">addr = #{addr},</if>
|
||||
<if test="registerTime != null">register_time = #{registerTime},</if>
|
||||
@@ -178,7 +179,7 @@
|
||||
<if test="isDel != null">is_del = #{isDel},</if>
|
||||
<if test="vipStartTime != null"> vip_start_time = #{vipStartTime},</if>
|
||||
<if test="vipEndTime != null"> vip_end_time = #{vipEndTime},</if>
|
||||
<if test="descinfo != null"> vip_end_time = #{descinfo},</if>
|
||||
<if test="descinfo != null"> descinfo = #{descinfo},</if>
|
||||
</trim>
|
||||
where shop_user.user_id = #{userId}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user