component-shipinlv 1.1.10 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
package/dist/lib/request.js
CHANGED
@@ -27,7 +27,7 @@ var requestApi = /*#__PURE__*/function () {
|
|
27
27
|
options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
|
28
28
|
// 要请求的 url
|
29
29
|
url = getApiUrl(api, options === null || options === void 0 ? void 0 : options.env);
|
30
|
-
console.log('makeAjax int 20
|
30
|
+
console.log('makeAjax int 20 url:', url, options);
|
31
31
|
|
32
32
|
// const params = options.method === 'GET' ? options.data : {};
|
33
33
|
userInfo = Tool.getLocalUserInfo();
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
4
|
import request from "../../lib/request";
|
5
5
|
var ApiUrls = {
|
6
6
|
local: {
|
7
|
-
api: 'http://localhost:
|
7
|
+
api: 'http://localhost:51805/'
|
8
8
|
},
|
9
9
|
prod: {
|
10
10
|
api: 'https://api-video-publish.shipinlv.com/'
|