apifm-webapi 24.9.22 → 24.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -54,12 +54,12 @@ baseRequest.interceptors.response.use(
54
54
  )
55
55
 
56
56
  const request = (url, needSubDomain, method, data) => {
57
- let _url = (needSubDomain ? '/' + subDomain : '') + url
57
+ let _url = API_BASE_URL + (needSubDomain ? '/' + subDomain : '') + url
58
58
  if (url.indexOf("http") == 0 ) {
59
59
  _url = url
60
60
  }
61
61
  return baseRequest({
62
- url: API_BASE_URL + _url,
62
+ url: _url,
63
63
  needSubDomain: needSubDomain,
64
64
  method: method,
65
65
  params: method == 'get' || method == 'GET' ? data : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "24.09.22",
3
+ "version": "24.11.06",
4
4
  "description": "增加stripe支付接口",
5
5
  "main": "index.js",
6
6
  "scripts": {