Răsfoiți Sursa

fix: 菜单调整

wrj 11 luni în urmă
părinte
comite
7e3c21a359

+ 0 - 2
nightFragrance-massage/src/main/java/com/ylx/massage/service/TRechargeService.java

@@ -14,8 +14,6 @@ public interface TRechargeService extends IService<TRecharge> {
 
     TRecharge recharge(TRecharge recharge);
 
-
-
     TRecharge increaseAmount(String rechargeNo);
 
     R getPay(String setOutTradeNo, BigDecimal amount, String openId,String description,String attach) throws Exception;

+ 1 - 2
nightFragrance-massage/src/main/java/com/ylx/massage/utils/WeChatUtil.java

@@ -9,7 +9,6 @@ import cn.hutool.http.HttpUtil;
 import com.alibaba.fastjson2.JSONObject;
 import com.ylx.common.config.WechatAccountConfig;
 import com.ylx.common.exception.ServiceException;
-import com.ylx.common.utils.StringUtils;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Component;
 import org.w3c.dom.Node;
@@ -198,7 +197,7 @@ public class WeChatUtil {
 
         String url = " https://api.weixin.qq.com/cgi-bin/menu/create?access_token=" + token;
 
-        String param = "{\"button\":[{\"type\":\"view\",\"name\":\"立即下单\",\"url\":\"http://www.soso.com/\"},{\"name\":\"更多\",\"sub_button\":[{\"type\":\"view\",\"name\":\"搜索\",\"url\":\"http://www.soso.com/\"},{\"type\":\"click\",\"name\":\"赞一下我们\",\"key\":\"V1001_GOOD\"}]}]}";
+        String param = "{\"button\":[{\"type\":\"view\",\"name\":\"立即下单\",\"url\":\"https://test.baoxianzhanggui.com/fragrance/\"},{\"name\":\"更多\",\"sub_button\":[{\"type\":\"view\",\"name\":\"搜索\",\"url\":\"https://test.baoxianzhanggui.com/fragrance/\"},{\"type\":\"click\",\"name\":\"赞一下我们\",\"key\":\"V1001_GOOD\"}]}]}";
         String rs = HttpUtil.post(url, param);
         Map<?, ?> map = JSONObject.parseObject(rs, Map.class);