package com.dhht.wechat.util;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import java.util.HashMap;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;

/**
* @Author: sh
* @Description: WechatUtil
* @Date: 17:46 2019/10/15
*/
public class WechatUtil {

final static String KEY_S = "SIGNKEY-";

public static String getSignKey(String url){
return KEY_S+url;
}

/**
* 获取access_token
*
* @param appId
* @param secret
* @return
*/
public static String getAccessToken(String appId, String secret) {
String url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&app));
}
}

相关文章:

  • 2021-10-04
  • 2022-02-08
  • 2021-05-07
  • 2022-12-23
  • 2021-11-02
  • 2022-02-08
  • 2021-05-03
  • 2022-12-23
猜你喜欢
  • 2021-12-07
  • 2022-12-23
  • 2022-02-08
  • 2022-01-30
  • 2022-12-23
  • 2021-10-16
  • 2022-02-08
相关资源
相似解决方案