component-shipinlv 0.0.21 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
package/dist/Product/index.d.ts
CHANGED
package/dist/Product/index.js
CHANGED
@@ -10,12 +10,14 @@ var Product = /*#__PURE__*/function () {
|
|
10
10
|
_createClass(Product, [{
|
11
11
|
key: "detail",
|
12
12
|
value: function () {
|
13
|
-
var _detail = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(productType) {
|
13
|
+
var _detail = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(productType, env) {
|
14
14
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
15
15
|
while (1) switch (_context.prev = _context.next) {
|
16
16
|
case 0:
|
17
17
|
return _context.abrupt("return", ProductController.detail({
|
18
18
|
productType: productType
|
19
|
+
}, {
|
20
|
+
env: env
|
19
21
|
}));
|
20
22
|
case 1:
|
21
23
|
case "end":
|
@@ -23,7 +25,7 @@ var Product = /*#__PURE__*/function () {
|
|
23
25
|
}
|
24
26
|
}, _callee);
|
25
27
|
}));
|
26
|
-
function detail(_x) {
|
28
|
+
function detail(_x, _x2) {
|
27
29
|
return _detail.apply(this, arguments);
|
28
30
|
}
|
29
31
|
return detail;
|
package/dist/config/apiUrls.js
CHANGED
@@ -18,8 +18,8 @@ var ApiUrls = {
|
|
18
18
|
ws: 'wss://pre.api-chat.douzhuli.shop/'
|
19
19
|
},
|
20
20
|
prod: {
|
21
|
-
api: 'https://api
|
22
|
-
ws: 'wss://api
|
21
|
+
api: 'https://api.shipinlv.com/',
|
22
|
+
ws: 'wss://api.shipinlv.com/'
|
23
23
|
}
|
24
24
|
};
|
25
25
|
export default ApiUrls;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "component-shipinlv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.23",
|
4
4
|
"description": "",
|
5
5
|
"module": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -74,8 +74,7 @@
|
|
74
74
|
"moment": "^2.29.4",
|
75
75
|
"qrcode.react": "^3.1.0",
|
76
76
|
"styled-components": "^6.1.8",
|
77
|
-
"umi-request": "^1.4.0"
|
78
|
-
"yarn": "^1.22.19"
|
77
|
+
"umi-request": "^1.4.0"
|
79
78
|
},
|
80
79
|
"scripts": {
|
81
80
|
"start": "npm run dev",
|