cyy-vue-material 1.0.24 → 1.0.25
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.
- package/package.json +1 -1
- package/src/api/index.js +1 -1
- package/src/utils/fetchFactory.js +2 -2
package/package.json
CHANGED
package/src/api/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// 获取商品列表
|
|
2
|
-
export const
|
|
2
|
+
export const querySkuFromJm = "web/rs/sku/querySkuFromJm.json";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { querySkuFromJm } from "../api/index.js";
|
|
2
2
|
import { isLc } from "./checkEnv";
|
|
3
3
|
import { isEmpty, isEqual } from "lodash-es";
|
|
4
4
|
|
|
@@ -40,7 +40,7 @@ const fetchIO = async (that, paramObj) => {
|
|
|
40
40
|
|
|
41
41
|
const saasToken = localStorage.getItem("saas-token");
|
|
42
42
|
|
|
43
|
-
return await fetch(process.env.REACT_APP_BASE_URL +
|
|
43
|
+
return await fetch(process.env.REACT_APP_BASE_URL + querySkuFromJm, {
|
|
44
44
|
method: "POST",
|
|
45
45
|
headers: {
|
|
46
46
|
"saas-token": saasToken,
|