@pisell/pisellos 2.0.1 → 2.0.2
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.
|
@@ -38,8 +38,8 @@ export var createCartItemOrigin = function createCartItemOrigin() {
|
|
|
38
38
|
// 资源相关
|
|
39
39
|
// 资源状态 -固定
|
|
40
40
|
like_status: "common",
|
|
41
|
-
//
|
|
42
|
-
|
|
41
|
+
// 资源类型
|
|
42
|
+
relation_type: "",
|
|
43
43
|
// 所选资源
|
|
44
44
|
resources: null,
|
|
45
45
|
// 日程id - 固定
|
|
@@ -228,6 +228,7 @@ export var formatResourceToCartItemOrigin = function formatResourceToCartItemOri
|
|
|
228
228
|
// 接口只需要部分字段,需要处理
|
|
229
229
|
resources.forEach(function (resource) {
|
|
230
230
|
origin.resources.push({
|
|
231
|
+
relation_type: "form",
|
|
231
232
|
like_status: "common",
|
|
232
233
|
id: resource.id,
|
|
233
234
|
main_field: resource.main_field,
|
|
@@ -77,8 +77,8 @@ var createCartItemOrigin = () => {
|
|
|
77
77
|
// 资源相关
|
|
78
78
|
// 资源状态 -固定
|
|
79
79
|
like_status: "common",
|
|
80
|
-
//
|
|
81
|
-
|
|
80
|
+
// 资源类型
|
|
81
|
+
relation_type: "",
|
|
82
82
|
// 所选资源
|
|
83
83
|
resources: null,
|
|
84
84
|
// 日程id - 固定
|
|
@@ -215,6 +215,7 @@ var formatResourceToCartItemOrigin = (params) => {
|
|
|
215
215
|
origin.resources = [];
|
|
216
216
|
resources.forEach((resource) => {
|
|
217
217
|
origin.resources.push({
|
|
218
|
+
relation_type: "form",
|
|
218
219
|
like_status: "common",
|
|
219
220
|
id: resource.id,
|
|
220
221
|
main_field: resource.main_field,
|