@zgfe/modules-dm 1.0.25 → 1.0.26-alpha.0
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/es/constants/api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var apis = {
|
|
2
2
|
// 埋点管理 - 事件列表
|
|
3
|
-
queryCollectionEventList: '/
|
|
3
|
+
queryCollectionEventList: 'zg/web/v2/data/queryEventMetasOfGroup',
|
|
4
4
|
// 埋点管理 - 事件列表 - 修改别名 | 修改显示状态 | 修改采集状态
|
|
5
5
|
updateEventInfo: '/analysis/api/common/proxy/data/updateEventInfo.jsp',
|
|
6
6
|
// 埋点管理 - 事件列表 - 创建分组 | 修改分组
|
|
@@ -14,7 +14,7 @@ var apis = {
|
|
|
14
14
|
// 埋点管理 - 移入到组、移出分组、复制到组
|
|
15
15
|
operateGroupRelations: '/zg/web/v2/event/eventGroup/operateGroupRelations',
|
|
16
16
|
// 用户属性列表 - 获取用户信息
|
|
17
|
-
getUserPropMeta: '/
|
|
17
|
+
getUserPropMeta: '/zg/web/v2/appusergroup/getUserPropMeta',
|
|
18
18
|
// 用户属性列表 - 修改:属性名别 | 数值类型 | 显示状态 | 加密类型
|
|
19
19
|
updateUserAttr: '/analysis/api/common/proxy/data/updateUserAttr.jsp',
|
|
20
20
|
// 用户属性文件上传
|
|
@@ -87,12 +87,12 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
87
87
|
request(apis.getUserPropMeta, {
|
|
88
88
|
method: 'post',
|
|
89
89
|
params: {
|
|
90
|
-
|
|
90
|
+
appId: getAppID(currentApp),
|
|
91
91
|
platform: 0
|
|
92
92
|
}
|
|
93
93
|
}).then(function (res) {
|
|
94
94
|
if (!res) throw new Error();
|
|
95
|
-
var afterData = res.
|
|
95
|
+
var afterData = res.data.filter(function (item) {
|
|
96
96
|
if (item.dimension_sub == 'user_attr') {
|
|
97
97
|
return item;
|
|
98
98
|
}
|
|
@@ -146,9 +146,9 @@ var CollectionEventList = function CollectionEventList(props) {
|
|
|
146
146
|
request(apis.queryCollectionEventList, {
|
|
147
147
|
method: 'get',
|
|
148
148
|
params: {
|
|
149
|
-
|
|
149
|
+
appId: getAppID(currentApp),
|
|
150
150
|
platform: 0,
|
|
151
|
-
|
|
151
|
+
isAll: true
|
|
152
152
|
}
|
|
153
153
|
}).then(function (res) {
|
|
154
154
|
if (!res) throw new Error();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26-alpha.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"umi-request": "^1.4.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "b148a28fc7c679b3a07519e1d01fea41a35e0a7e",
|
|
53
53
|
"gitHooks": {
|
|
54
54
|
"pre-commit": "lint-staged"
|
|
55
55
|
}
|