bug修复
This commit is contained in:
parent
7f0bcc9c2a
commit
d7e060ed1c
@ -64,7 +64,7 @@ public class WxApi {
|
||||
String token = weChatUtils.getToken();
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("path", path);
|
||||
map.put("query", "noticeId="+query);
|
||||
map.put("query", "noticeId="+query+"&navigatePath=index");
|
||||
map.put("expire_type", 1);
|
||||
map.put("expire_interval", 30);
|
||||
String post = HttpUtil.post("https://api.weixin.qq.com/wxa/generate_urllink?access_token=" + token, com.alibaba.fastjson2.JSONObject.toJSONString(map));
|
||||
|
@ -2,6 +2,7 @@ package com.ruoyi.member.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.ruoyi.common.annotation.Anonymous;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
|
@ -39,6 +39,7 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
import javax.annotation.Resource;
|
||||
import java.math.BigInteger;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* 会员Service业务层处理
|
||||
@ -341,6 +342,6 @@ public class MemberUserServiceImpl extends ServiceImpl<MemberUserMapper, MemberU
|
||||
public Object isGetGift() {
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
MemberUserVO result = memberUserMapper.queryByUserId(userId, "02");
|
||||
return result.getIsGetGift();
|
||||
return Optional.ofNullable(result.getIsGetGift()).orElse("0");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user