app.config.js 896 B

1234567891011121314151617181920212223242526
  1. /**
  2. * 网络请求相关的全局配置
  3. */
  4. export const requestConfig = {
  5. // BaseUrl: 'https://app.sxdirectpurchase.com/api/',
  6. /**接口请求地址 */
  7. // BaseUrl: 'http://192.168.3.97:9001/api/',
  8. BaseUrl: 'https://app.sxdirectpurchase.com/api/',
  9. /**授权回调地址 */
  10. // 授权后重定向的回调链接地址, 请使用 urlEncode 对链接进行处理
  11. // redirect_uri: "http%3A%2F%2Fne.sxdirectpurchase.com%2F%23%2Fpages%2Findex%2Fpay",
  12. /*本地测试地址*/
  13. redirect_uri: "https://ne.sxdirectpurchase.com/#/pages/index/pay",
  14. // redirect_uri: "http://192.168.3.183:81/#/pages/index/pay",
  15. redirectOpen: "https://ne.sxdirectpurchase.com/#/pages/index/paySuccess",
  16. /**公众号信息 */
  17. appid: "wxad190b75af42ac7e",
  18. appsecret: "934a264458f4de42c5ccbe611d212587",
  19. /**测试公众号*/
  20. // appid: "wx0fbc26e298b0d9b9",
  21. // appsecret: "b24e3b109d6de1f019c4141d34a56781",
  22. }