jmash-core-mp 0.1.21 → 0.1.22

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.
Files changed (150) hide show
  1. package/.editorconfig +9 -9
  2. package/README.md +60 -60
  3. package/babel.config.json +34 -34
  4. package/eslint.config.mjs +7 -7
  5. package/lib/api/auth/index.d.ts +21 -21
  6. package/lib/api/auth/index.js +199 -199
  7. package/lib/api/auth/types.d.ts +86 -86
  8. package/lib/api/auth/types.js +9 -9
  9. package/lib/api/cms/index.d.ts +20 -20
  10. package/lib/api/cms/index.js +161 -161
  11. package/lib/api/cms/types.d.ts +200 -200
  12. package/lib/api/cms/types.js +1 -1
  13. package/lib/api/constant.d.ts +5 -5
  14. package/lib/api/constant.js +6 -6
  15. package/lib/api/dict/index.d.ts +18 -18
  16. package/lib/api/dict/index.js +34 -34
  17. package/lib/api/dict/types.d.ts +28 -28
  18. package/lib/api/dict/types.js +1 -1
  19. package/lib/api/dicts.d.ts +18 -18
  20. package/lib/api/dicts.js +67 -67
  21. package/lib/api/files/index.d.ts +25 -25
  22. package/lib/api/files/index.js +135 -135
  23. package/lib/api/files/types.d.ts +38 -38
  24. package/lib/api/files/types.js +1 -1
  25. package/lib/api/index.d.ts +4 -4
  26. package/lib/api/index.js +6 -6
  27. package/lib/api/myorgan/types.d.ts +22 -22
  28. package/lib/api/myorgan/types.js +1 -1
  29. package/lib/api/region/index.d.ts +7 -7
  30. package/lib/api/region/index.js +19 -19
  31. package/lib/api/region/types.d.ts +19 -19
  32. package/lib/api/region/types.js +1 -1
  33. package/lib/api/storage/index.d.ts +10 -10
  34. package/lib/api/storage/index.js +43 -43
  35. package/lib/api/storage/types.d.ts +28 -28
  36. package/lib/api/storage/types.js +1 -1
  37. package/lib/api/types.d.ts +42 -42
  38. package/lib/api/types.js +1 -1
  39. package/lib/app.mpx.d.ts +1 -1
  40. package/lib/components/auth-user/jmash-update-user.mpx.d.ts +1 -1
  41. package/lib/components/auth-user/jmash-user.mpx.d.ts +1 -1
  42. package/lib/components/cms/jmash-cms-acticle-list.mpx.d.ts +1 -1
  43. package/lib/components/cms/jmash-cms-article-item.mpx.d.ts +1 -1
  44. package/lib/components/cms/jmash-cms-article-view.mpx.d.ts +1 -0
  45. package/lib/components/cms/jmash-cms-article.mpx.d.ts +1 -1
  46. package/lib/components/cms/jmash-cms-like.mpx.d.ts +1 -1
  47. package/lib/components/common/jmash-upload-picture.mpx.d.ts +1 -0
  48. package/lib/components/core/jmash-login.mpx.d.ts +1 -0
  49. package/lib/index.d.ts +21 -21
  50. package/lib/index.js +14 -14
  51. package/lib/packages/pages/cms/cms-article-list.mpx.d.ts +1 -1
  52. package/lib/pages/index.mpx.d.ts +1 -0
  53. package/lib/store/user.d.ts +31 -31
  54. package/lib/store/user.js +227 -227
  55. package/lib/utils/common.d.ts +35 -35
  56. package/lib/utils/common.js +166 -166
  57. package/lib/utils/config.d.ts +5 -5
  58. package/lib/utils/config.js +29 -29
  59. package/lib/utils/db.d.ts +21 -21
  60. package/lib/utils/db.js +84 -84
  61. package/lib/utils/grpc.d.ts +5 -5
  62. package/lib/utils/grpc.js +20 -20
  63. package/lib/utils/net.d.ts +7 -7
  64. package/lib/utils/net.js +15 -15
  65. package/lib/utils/request.d.ts +2 -2
  66. package/lib/utils/request.js +123 -123
  67. package/mpx.config.js +27 -27
  68. package/package.json +1 -1
  69. package/postcss.config.js +11 -11
  70. package/project.config.json +24 -24
  71. package/project.private.config.json +13 -13
  72. package/public/index.html +15 -15
  73. package/src/api/auth/index.ts +227 -227
  74. package/src/api/auth/types.ts +166 -166
  75. package/src/api/cms/index.ts +218 -218
  76. package/src/api/cms/types.ts +379 -379
  77. package/src/api/constant.ts +6 -6
  78. package/src/api/dict/index.ts +44 -44
  79. package/src/api/dict/types.ts +49 -49
  80. package/src/api/dicts.ts +72 -72
  81. package/src/api/files/index.ts +163 -163
  82. package/src/api/files/types.ts +67 -67
  83. package/src/api/index.ts +11 -11
  84. package/src/api/myorgan/types.ts +42 -42
  85. package/src/api/region/index.ts +23 -23
  86. package/src/api/region/types.ts +36 -36
  87. package/src/api/storage/index.ts +62 -62
  88. package/src/api/storage/types.ts +54 -54
  89. package/src/api/types.ts +72 -72
  90. package/src/app.mpx +71 -71
  91. package/src/components/auth-user/jmash-logout.mpx +91 -91
  92. package/src/components/auth-user/jmash-update-user.mpx +386 -386
  93. package/src/components/auth-user/jmash-update-user.web.mpx +366 -366
  94. package/src/components/auth-user/jmash-user.mpx +359 -359
  95. package/src/components/cms/jmash-cms-acticle-list.mpx +182 -182
  96. package/src/components/cms/jmash-cms-article-item.mpx +241 -241
  97. package/src/components/cms/jmash-cms-article-view.mpx +131 -131
  98. package/src/components/cms/jmash-cms-article.mpx +68 -68
  99. package/src/components/cms/jmash-cms-like.mpx +151 -151
  100. package/src/components/common/jmash-avatar-edit.mpx +153 -153
  101. package/src/components/common/jmash-cascader-region.mpx +112 -112
  102. package/src/components/common/jmash-menu.mpx +129 -129
  103. package/src/components/common/jmash-none-data.mpx +82 -82
  104. package/src/components/common/jmash-pic-swiper.mpx +71 -71
  105. package/src/components/common/jmash-popup.mpx +137 -137
  106. package/src/components/common/jmash-search.mpx +126 -126
  107. package/src/components/common/jmash-single-btn.mpx +53 -53
  108. package/src/components/common/jmash-stepper.mpx +214 -214
  109. package/src/components/common/jmash-tab-bar.mpx +50 -50
  110. package/src/components/common/jmash-textarea.mpx +88 -88
  111. package/src/components/common/jmash-top-navigation.mpx +203 -203
  112. package/src/components/common/jmash-upload-picture.mpx +129 -126
  113. package/src/components/core/jmash-cms-protocol.mpx +66 -66
  114. package/src/components/core/jmash-login.ali.mpx +284 -284
  115. package/src/components/core/jmash-login.mpx +348 -348
  116. package/src/components/core/jmash-login.web.mpx +421 -421
  117. package/src/components/core/jmash-popup-login.ali.mpx +311 -311
  118. package/src/components/core/jmash-popup-login.mpx +415 -415
  119. package/src/components/core/jmash-popup-login.web.mpx +389 -389
  120. package/src/custom-tab-bar/index.mpx +10 -10
  121. package/src/global.d.ts +11 -11
  122. package/src/index.ts +71 -71
  123. package/src/packages/index.mpx +10 -10
  124. package/src/packages/pages/auth/cms-protocol.mpx +31 -31
  125. package/src/packages/pages/auth/login.mpx +59 -59
  126. package/src/packages/pages/auth/update-user.mpx +17 -17
  127. package/src/packages/pages/cms/cms-article-list.mpx +164 -164
  128. package/src/packages/pages/cms/cms-article.mpx +32 -32
  129. package/src/pages/basic-component.mpx +30 -30
  130. package/src/pages/half-home.mpx +58 -58
  131. package/src/pages/home.mpx +52 -52
  132. package/src/pages/home2.mpx +47 -47
  133. package/src/pages/index.mpx +13 -3
  134. package/src/pages/tabbar/home.mpx +77 -77
  135. package/src/pages/tabbar/my.mpx +80 -80
  136. package/src/store/user.ts +270 -270
  137. package/src/styles/index.scss +20 -20
  138. package/src/styles/vars.scss +27 -27
  139. package/src/utils/common.ts +179 -179
  140. package/src/utils/config.ts +35 -35
  141. package/src/utils/db.ts +100 -100
  142. package/src/utils/grpc.ts +21 -21
  143. package/src/utils/net.ts +18 -18
  144. package/src/utils/request.ts +134 -134
  145. package/static/ali/mini.project.json +4 -4
  146. package/static/dd/project.config.json +15 -15
  147. package/static/swan/project.swan.json +14 -14
  148. package/static/tt/project.config.json +11 -11
  149. package/static/wx/project.config.json +40 -40
  150. package/uno.config.js +9 -9
@@ -1,379 +1,379 @@
1
- // 网站站点列表
2
- export interface CmsSiteList {
3
- // 当前内容
4
- results: Array<CmsSiteModel>;
5
- }
6
-
7
- // 网站站点主键
8
- export interface CmsSiteKey {
9
- // 租户
10
- tenant?: string;
11
- // 组织租户
12
- organTenant?: string;
13
- // 站点ID
14
- siteId: string;
15
- }
16
-
17
- // 网站站点实体
18
- export interface CmsSiteModel {
19
- // 站点ID
20
- siteId?: string;
21
- // 站点名称
22
- siteName?: string;
23
- // 站点logo
24
- siteLogo?: string;
25
- // 站点关键词-SEO
26
- keyword?: string;
27
- // 站点描述-SEO
28
- description?: string;
29
- // 联系人
30
- contactPerson?: string;
31
- // 联系电话
32
- contactPhone?: string;
33
- // 到期时间
34
- dueTime?: string;
35
- // 站点状态
36
- status?: string;
37
- // 网站类型(1pc,2mobile,4mini:如果3,代表1、2)
38
- siteType?: string;
39
- // 是否开启评论
40
- isComment?: boolean;
41
- // 是否开启评论审核
42
- isCommentReview?: boolean;
43
- // 移动模版地址
44
- mobileProductPath?: string;
45
- // pc模版地址
46
- pcProductPath?: string;
47
- // 栏目列表
48
- channelList?: Array<CmsChannelModel>;
49
- // 详细地址
50
- address?: string;
51
- // 经度
52
- geoLongitude: number;
53
- // 纬度
54
- geoLatitude: number;
55
- // 邮箱
56
- email: string;
57
- }
58
-
59
- // 网站栏目查询
60
- export interface CmsChannelReq {
61
- // 租户
62
- tenant?: string;
63
- // 站点ID
64
- siteId?: string;
65
- // 别名
66
- alias?: string;
67
- // 是否启用
68
- status?: boolean;
69
- // 是否包含状态
70
- hasStatus?: boolean;
71
- // 是否开放访问
72
- isOpen?: boolean;
73
- // 是否包含开放访问
74
- hasIsOpen?: boolean;
75
- // 栏目ID
76
- channelId?: string;
77
- }
78
- // 网站栏目列表
79
- export interface CmsChannelList {
80
- // 当前页内容
81
- results: Array<CmsChannelModel>;
82
- }
83
- // 网站栏目实体
84
- export interface CmsChannelModel {
85
- // 栏目ID
86
- channelId: string;
87
- // 站点ID
88
- siteId?: string;
89
- // 模型代码
90
- modelCode?: string;
91
- // 栏目名称
92
- channelName: string;
93
- // 别名
94
- alias?: string;
95
- // 父栏目ID
96
- parentId?: string;
97
- // SEOTITLE(标题)
98
- seoTitle?: string;
99
- // SEODESCRIPTION(描述)
100
- seoDescription?: string;
101
- // 是否启用
102
- status?: boolean;
103
- // 子栏目
104
- children?: Array<CmsChannelModel>;
105
- // 是否开放访问
106
- isOpen?: boolean;
107
- // 是否被选择
108
- isSelect?: boolean;
109
- // 栏目展示图片路径 静态资源路径
110
- url: string;
111
- // 类型
112
- type?: string;
113
- }
114
-
115
- // 网站栏目主键
116
- export interface CmsChannelKey {
117
- // 租户
118
- tenant?: string;
119
- // 栏目ID
120
- channelId: string;
121
- }
122
-
123
- // 信息主表分页
124
- export interface CmsInfoPage {
125
- // 当前页内容
126
- results: Array<CmsInfoModel>;
127
- // 当前页码
128
- curPage?: number;
129
- // 页尺寸
130
- pageSize?: number;
131
- // 总记录数
132
- totalSize?: number;
133
- // 本页小计
134
- subTotalDto?: CmsInfoModelTotal;
135
- // 合计
136
- totalDto?: CmsInfoModelTotal;
137
- // 页面数
138
- pageCount?: number;
139
- }
140
- // 合计
141
- export interface CmsInfoModelTotal {
142
- // 总记录数
143
- totalSize?: number;
144
- }
145
-
146
- // 查询翻页信息信息列表
147
- export interface CmsInfoReq {
148
- // 租户
149
- tenant?: string;
150
- // 当前页码
151
- curPage?: number;
152
- // 页尺寸
153
- pageSize?: number;
154
- // 站点ID
155
- siteId?: string;
156
- // 栏目ID
157
- channelId?: string;
158
- // 栏目别名
159
- channelAlias?: string;
160
- // 文章标题
161
- likeInfoTitle?: string;
162
- // 默认未删除数据,回收站数据
163
- deleted?: boolean;
164
- // 是否包含文章状态
165
- hasStatus?: boolean;
166
- // 文章状态
167
- status?: string;
168
- // 受否查询带有图片的文章
169
- hasIsImg?: boolean;
170
- // 是否包含新闻图片
171
- isImg?: boolean;
172
- }
173
-
174
- // 信息主表主键.
175
- export interface CmsInfoKey {
176
- // 租户
177
- tenant?: string;
178
- // 内容ID
179
- infoId?: string;
180
- }
181
- // 信息主表实体
182
- export interface CmsInfoModel {
183
- // 内容ID
184
- infoId?: string;
185
- // 信息模型
186
- modelCode?: string;
187
- // 内容标题
188
- infoTitle: string;
189
- // 副标题
190
- subTitle?: string;
191
- // 封面图片
192
- imgUrl?: string;
193
- // 作者
194
- author?: string;
195
- // 摘要
196
- intro?: string;
197
- // 是否置顶
198
- top?: number;
199
- // 文章状态
200
- status?: string;
201
- // 发布时间
202
- publishDate?: string;
203
- // 到期时间
204
- dueTime?: string;
205
- // 栏目ID
206
- channelId: Array<string>;
207
- // 来源名称
208
- sourceName?: string;
209
- // 站点Id
210
- siteId: string;
211
- // 地址
212
- address?: string;
213
- }
214
- // 信息内容查询
215
- export interface CmsInfoContentReq {
216
- // 租户
217
- tenant?: string;
218
- // 信息ID
219
- infoId?: string;
220
- }
221
- // 信息内容实体
222
- export interface CmsInfoContentModel {
223
- // 图片数组
224
- imagePath?: Array<string>;
225
- // 视频数组
226
- videoPath?: Array<string>;
227
- // 内容ID
228
- contentId?: string;
229
- // 信息ID
230
- infoId?: string;
231
- // 信息内容
232
- infoContent?: string;
233
- // 内容类型
234
- infoType?: string;
235
- // 排序
236
- orderBy?: number;
237
- // 信息内容数组
238
- infoContentList?: { path: string }[];
239
- }
240
- // 信息内容列表
241
- export interface CmsInfoContentList {
242
- // 当前页内容
243
- results: Array<CmsInfoContentModel>;
244
- }
245
-
246
- // 根据栏目别名查询翻页信息信息主表-单页栏目内容
247
- export interface CmsContentInfoReq {
248
- // 租户
249
- tenant?: string;
250
- // 站点ID
251
- siteId?: string;
252
- // 栏目别名
253
- channelAlias: string;
254
- }
255
-
256
- // 文章详细信息
257
- export interface CmsContentInfoModel {
258
- // cms信息
259
- cmsInfo?: CmsInfoModel;
260
- // 内容信息
261
- infoContentResults?: Array<CmsInfoContentModel>;
262
- }
263
-
264
- // 信息主表主键
265
- export interface CmsInfoKey {
266
- // 租户
267
- tenant?: string;
268
- // 内容ID
269
- infoId?: string;
270
- }
271
-
272
- // 信息内容查询
273
- export interface CmsInfoContentReq {
274
- // 租户
275
- tenant?: string;
276
- // 信息ID
277
- infoId?: string;
278
- }
279
- // 信息内容列表
280
- export interface CmsInfoContentList {
281
- // 当前页内容
282
- results: Array<CmsInfoContentModel>;
283
- }
284
-
285
- // 信息附件表查询
286
- export interface CmsInfoFileReq {
287
- // 租户
288
- tenant?: string;
289
- // 信息ID
290
- infoId?: string;
291
- }
292
- // 信息附件表实体
293
- export interface CmsInfoFileModel {
294
- // 附件ID
295
- fileId?: string;
296
- // 信息ID
297
- infoId?: string;
298
- // 文件名称
299
- fileName?: string;
300
- // 文件类型
301
- fileType?: string;
302
- // 地址
303
- filePath?: string;
304
- // 大小
305
- fileSize?: string;
306
- // 后缀
307
- fileExt?: string;
308
- // 文件宽度
309
- fileWidth?: number;
310
- // 文件高度
311
- fileHeight?: number;
312
- // 视频时长
313
- videoTime?: number;
314
- // 文件介绍
315
- intro?: string;
316
- }
317
- // 信息附件表列表
318
- export interface CmsInfoFileList {
319
- // 当前页内容
320
- results: Array<CmsInfoFileModel>;
321
- }
322
- // 互动表主键
323
- export interface FrontInteractKey {
324
- // 租户
325
- tenant?: string;
326
- // 互动ID
327
- interactId?: string;
328
- }
329
- // 互动表实体
330
- export interface FrontInteractModel {
331
- // 互动ID
332
- interactId?: string;
333
- // 点赞数
334
- likeCount: number;
335
- // 浏览量
336
- browseCount: number;
337
- }
338
-
339
- // 点赞表主键
340
- export interface FrontLikeKey {
341
- // 租户
342
- tenant: string;
343
- // 关系ID
344
- relationId: string;
345
- }
346
- // 点赞表新增
347
- export interface FrontLikeCreateReq {
348
- // 租户
349
- tenant: string;
350
- // 用于检测重复请求的唯一字符串ID
351
- requestId?: string;
352
- // 点赞类型
353
- likeType?: string;
354
- // 关系ID
355
- relationId?: string;
356
- // 点赞true/取消点赞false
357
- action?: boolean;
358
- }
359
- // 点赞表实体
360
- export interface FrontLikeModel {
361
- // 点赞ID
362
- likeId?: string;
363
- }
364
- // 浏览记录表新增
365
- export interface FrontBrowseRecordCreateReq {
366
- // 租户
367
- tenant?: string;
368
- // 用于检测重复请求的唯一字符串ID
369
- requestId?: string;
370
- // 类型
371
- type?: string;
372
- // 关系ID
373
- relationId?: string;
374
- }
375
- // 浏览记录表实体
376
- export interface FrontBrowseRecordModel {
377
- // 浏览ID
378
- browseId?: string;
379
- }
1
+ // 网站站点列表
2
+ export interface CmsSiteList {
3
+ // 当前内容
4
+ results: Array<CmsSiteModel>;
5
+ }
6
+
7
+ // 网站站点主键
8
+ export interface CmsSiteKey {
9
+ // 租户
10
+ tenant?: string;
11
+ // 组织租户
12
+ organTenant?: string;
13
+ // 站点ID
14
+ siteId: string;
15
+ }
16
+
17
+ // 网站站点实体
18
+ export interface CmsSiteModel {
19
+ // 站点ID
20
+ siteId?: string;
21
+ // 站点名称
22
+ siteName?: string;
23
+ // 站点logo
24
+ siteLogo?: string;
25
+ // 站点关键词-SEO
26
+ keyword?: string;
27
+ // 站点描述-SEO
28
+ description?: string;
29
+ // 联系人
30
+ contactPerson?: string;
31
+ // 联系电话
32
+ contactPhone?: string;
33
+ // 到期时间
34
+ dueTime?: string;
35
+ // 站点状态
36
+ status?: string;
37
+ // 网站类型(1pc,2mobile,4mini:如果3,代表1、2)
38
+ siteType?: string;
39
+ // 是否开启评论
40
+ isComment?: boolean;
41
+ // 是否开启评论审核
42
+ isCommentReview?: boolean;
43
+ // 移动模版地址
44
+ mobileProductPath?: string;
45
+ // pc模版地址
46
+ pcProductPath?: string;
47
+ // 栏目列表
48
+ channelList?: Array<CmsChannelModel>;
49
+ // 详细地址
50
+ address?: string;
51
+ // 经度
52
+ geoLongitude: number;
53
+ // 纬度
54
+ geoLatitude: number;
55
+ // 邮箱
56
+ email: string;
57
+ }
58
+
59
+ // 网站栏目查询
60
+ export interface CmsChannelReq {
61
+ // 租户
62
+ tenant?: string;
63
+ // 站点ID
64
+ siteId?: string;
65
+ // 别名
66
+ alias?: string;
67
+ // 是否启用
68
+ status?: boolean;
69
+ // 是否包含状态
70
+ hasStatus?: boolean;
71
+ // 是否开放访问
72
+ isOpen?: boolean;
73
+ // 是否包含开放访问
74
+ hasIsOpen?: boolean;
75
+ // 栏目ID
76
+ channelId?: string;
77
+ }
78
+ // 网站栏目列表
79
+ export interface CmsChannelList {
80
+ // 当前页内容
81
+ results: Array<CmsChannelModel>;
82
+ }
83
+ // 网站栏目实体
84
+ export interface CmsChannelModel {
85
+ // 栏目ID
86
+ channelId: string;
87
+ // 站点ID
88
+ siteId?: string;
89
+ // 模型代码
90
+ modelCode?: string;
91
+ // 栏目名称
92
+ channelName: string;
93
+ // 别名
94
+ alias?: string;
95
+ // 父栏目ID
96
+ parentId?: string;
97
+ // SEOTITLE(标题)
98
+ seoTitle?: string;
99
+ // SEODESCRIPTION(描述)
100
+ seoDescription?: string;
101
+ // 是否启用
102
+ status?: boolean;
103
+ // 子栏目
104
+ children?: Array<CmsChannelModel>;
105
+ // 是否开放访问
106
+ isOpen?: boolean;
107
+ // 是否被选择
108
+ isSelect?: boolean;
109
+ // 栏目展示图片路径 静态资源路径
110
+ url: string;
111
+ // 类型
112
+ type?: string;
113
+ }
114
+
115
+ // 网站栏目主键
116
+ export interface CmsChannelKey {
117
+ // 租户
118
+ tenant?: string;
119
+ // 栏目ID
120
+ channelId: string;
121
+ }
122
+
123
+ // 信息主表分页
124
+ export interface CmsInfoPage {
125
+ // 当前页内容
126
+ results: Array<CmsInfoModel>;
127
+ // 当前页码
128
+ curPage?: number;
129
+ // 页尺寸
130
+ pageSize?: number;
131
+ // 总记录数
132
+ totalSize?: number;
133
+ // 本页小计
134
+ subTotalDto?: CmsInfoModelTotal;
135
+ // 合计
136
+ totalDto?: CmsInfoModelTotal;
137
+ // 页面数
138
+ pageCount?: number;
139
+ }
140
+ // 合计
141
+ export interface CmsInfoModelTotal {
142
+ // 总记录数
143
+ totalSize?: number;
144
+ }
145
+
146
+ // 查询翻页信息信息列表
147
+ export interface CmsInfoReq {
148
+ // 租户
149
+ tenant?: string;
150
+ // 当前页码
151
+ curPage?: number;
152
+ // 页尺寸
153
+ pageSize?: number;
154
+ // 站点ID
155
+ siteId?: string;
156
+ // 栏目ID
157
+ channelId?: string;
158
+ // 栏目别名
159
+ channelAlias?: string;
160
+ // 文章标题
161
+ likeInfoTitle?: string;
162
+ // 默认未删除数据,回收站数据
163
+ deleted?: boolean;
164
+ // 是否包含文章状态
165
+ hasStatus?: boolean;
166
+ // 文章状态
167
+ status?: string;
168
+ // 受否查询带有图片的文章
169
+ hasIsImg?: boolean;
170
+ // 是否包含新闻图片
171
+ isImg?: boolean;
172
+ }
173
+
174
+ // 信息主表主键.
175
+ export interface CmsInfoKey {
176
+ // 租户
177
+ tenant?: string;
178
+ // 内容ID
179
+ infoId?: string;
180
+ }
181
+ // 信息主表实体
182
+ export interface CmsInfoModel {
183
+ // 内容ID
184
+ infoId?: string;
185
+ // 信息模型
186
+ modelCode?: string;
187
+ // 内容标题
188
+ infoTitle: string;
189
+ // 副标题
190
+ subTitle?: string;
191
+ // 封面图片
192
+ imgUrl?: string;
193
+ // 作者
194
+ author?: string;
195
+ // 摘要
196
+ intro?: string;
197
+ // 是否置顶
198
+ top?: number;
199
+ // 文章状态
200
+ status?: string;
201
+ // 发布时间
202
+ publishDate?: string;
203
+ // 到期时间
204
+ dueTime?: string;
205
+ // 栏目ID
206
+ channelId: Array<string>;
207
+ // 来源名称
208
+ sourceName?: string;
209
+ // 站点Id
210
+ siteId: string;
211
+ // 地址
212
+ address?: string;
213
+ }
214
+ // 信息内容查询
215
+ export interface CmsInfoContentReq {
216
+ // 租户
217
+ tenant?: string;
218
+ // 信息ID
219
+ infoId?: string;
220
+ }
221
+ // 信息内容实体
222
+ export interface CmsInfoContentModel {
223
+ // 图片数组
224
+ imagePath?: Array<string>;
225
+ // 视频数组
226
+ videoPath?: Array<string>;
227
+ // 内容ID
228
+ contentId?: string;
229
+ // 信息ID
230
+ infoId?: string;
231
+ // 信息内容
232
+ infoContent?: string;
233
+ // 内容类型
234
+ infoType?: string;
235
+ // 排序
236
+ orderBy?: number;
237
+ // 信息内容数组
238
+ infoContentList?: { path: string }[];
239
+ }
240
+ // 信息内容列表
241
+ export interface CmsInfoContentList {
242
+ // 当前页内容
243
+ results: Array<CmsInfoContentModel>;
244
+ }
245
+
246
+ // 根据栏目别名查询翻页信息信息主表-单页栏目内容
247
+ export interface CmsContentInfoReq {
248
+ // 租户
249
+ tenant?: string;
250
+ // 站点ID
251
+ siteId?: string;
252
+ // 栏目别名
253
+ channelAlias: string;
254
+ }
255
+
256
+ // 文章详细信息
257
+ export interface CmsContentInfoModel {
258
+ // cms信息
259
+ cmsInfo?: CmsInfoModel;
260
+ // 内容信息
261
+ infoContentResults?: Array<CmsInfoContentModel>;
262
+ }
263
+
264
+ // 信息主表主键
265
+ export interface CmsInfoKey {
266
+ // 租户
267
+ tenant?: string;
268
+ // 内容ID
269
+ infoId?: string;
270
+ }
271
+
272
+ // 信息内容查询
273
+ export interface CmsInfoContentReq {
274
+ // 租户
275
+ tenant?: string;
276
+ // 信息ID
277
+ infoId?: string;
278
+ }
279
+ // 信息内容列表
280
+ export interface CmsInfoContentList {
281
+ // 当前页内容
282
+ results: Array<CmsInfoContentModel>;
283
+ }
284
+
285
+ // 信息附件表查询
286
+ export interface CmsInfoFileReq {
287
+ // 租户
288
+ tenant?: string;
289
+ // 信息ID
290
+ infoId?: string;
291
+ }
292
+ // 信息附件表实体
293
+ export interface CmsInfoFileModel {
294
+ // 附件ID
295
+ fileId?: string;
296
+ // 信息ID
297
+ infoId?: string;
298
+ // 文件名称
299
+ fileName?: string;
300
+ // 文件类型
301
+ fileType?: string;
302
+ // 地址
303
+ filePath?: string;
304
+ // 大小
305
+ fileSize?: string;
306
+ // 后缀
307
+ fileExt?: string;
308
+ // 文件宽度
309
+ fileWidth?: number;
310
+ // 文件高度
311
+ fileHeight?: number;
312
+ // 视频时长
313
+ videoTime?: number;
314
+ // 文件介绍
315
+ intro?: string;
316
+ }
317
+ // 信息附件表列表
318
+ export interface CmsInfoFileList {
319
+ // 当前页内容
320
+ results: Array<CmsInfoFileModel>;
321
+ }
322
+ // 互动表主键
323
+ export interface FrontInteractKey {
324
+ // 租户
325
+ tenant?: string;
326
+ // 互动ID
327
+ interactId?: string;
328
+ }
329
+ // 互动表实体
330
+ export interface FrontInteractModel {
331
+ // 互动ID
332
+ interactId?: string;
333
+ // 点赞数
334
+ likeCount: number;
335
+ // 浏览量
336
+ browseCount: number;
337
+ }
338
+
339
+ // 点赞表主键
340
+ export interface FrontLikeKey {
341
+ // 租户
342
+ tenant: string;
343
+ // 关系ID
344
+ relationId: string;
345
+ }
346
+ // 点赞表新增
347
+ export interface FrontLikeCreateReq {
348
+ // 租户
349
+ tenant: string;
350
+ // 用于检测重复请求的唯一字符串ID
351
+ requestId?: string;
352
+ // 点赞类型
353
+ likeType?: string;
354
+ // 关系ID
355
+ relationId?: string;
356
+ // 点赞true/取消点赞false
357
+ action?: boolean;
358
+ }
359
+ // 点赞表实体
360
+ export interface FrontLikeModel {
361
+ // 点赞ID
362
+ likeId?: string;
363
+ }
364
+ // 浏览记录表新增
365
+ export interface FrontBrowseRecordCreateReq {
366
+ // 租户
367
+ tenant?: string;
368
+ // 用于检测重复请求的唯一字符串ID
369
+ requestId?: string;
370
+ // 类型
371
+ type?: string;
372
+ // 关系ID
373
+ relationId?: string;
374
+ }
375
+ // 浏览记录表实体
376
+ export interface FrontBrowseRecordModel {
377
+ // 浏览ID
378
+ browseId?: string;
379
+ }