wechatOfficial.php 815 B

1234567891011121314
  1. <?php
  2. return [
  3. "appId" => "wxe41843eb218a16cc",
  4. "appSecret" => "0ac0bb96d1a0b5182d105ae62a145cce",
  5. "getTokenUrl" => "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s",
  6. "tokenKeyName" => "tongyuekeji",
  7. "getOpenIdUrl" => "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code",
  8. "setWebHookUrl" => "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect",
  9. "redirectUrl" => "https://tykjapi.qingyaokeji.com/wxapi/getUnionid?uri=%s&param=%s",
  10. // "redirectFrontEndUrl" => "https://tykj.qingyaokeji.com/#/wxGet?uri=%s&openid=%s&param=%s",
  11. "redirectFrontEndUrl" => "https://tykjapi.qingyaokeji.com/api/test",
  12. ];