component-shipinlv 1.1.6 → 1.1.8

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 (54) hide show
  1. package/dist/Auth/index.d.ts +1 -1
  2. package/dist/Auth/index.js +2 -2
  3. package/dist/AuthClient/index.d.ts +1 -1
  4. package/dist/AuthClient/index.js +2 -2
  5. package/dist/AuthClient/login-reg.d.ts +1 -1
  6. package/dist/AuthClient/login-reg.js +3 -3
  7. package/dist/AuthClient/login.d.ts +1 -1
  8. package/dist/AuthClient/login.js +2 -2
  9. package/dist/AuthClient/qr/index.d.ts +1 -1
  10. package/dist/AuthClient/qr/index.js +2 -2
  11. package/dist/AuthClient/reg.d.ts +1 -1
  12. package/dist/AuthClient/reg.js +2 -2
  13. package/dist/UI/DialogDrawer.css.js +1 -1
  14. package/dist/UI/LayoutContent.js +2 -2
  15. package/dist/UI/LayoutContent.less +3 -3
  16. package/dist/VideoPublish/account-manage/home.js +3 -1
  17. package/dist/VideoPublish/account-manage/list.js +19 -44
  18. package/dist/VideoPublish/account-manage/list.less +0 -72
  19. package/dist/VideoPublish/create-task/base/index.js +1 -0
  20. package/dist/VideoPublish/create-task/index.js +6 -4
  21. package/dist/VideoPublish/index.js +13 -1
  22. package/dist/VideoPublish/proxy/create.d.ts +8 -0
  23. package/dist/VideoPublish/proxy/create.js +154 -0
  24. package/dist/VideoPublish/proxy/list.d.ts +9 -0
  25. package/dist/VideoPublish/proxy/list.js +245 -0
  26. package/dist/VideoPublish/proxy/list.less +3 -0
  27. package/dist/VideoPublish/proxy/query.d.ts +9 -0
  28. package/dist/VideoPublish/proxy/query.js +75 -0
  29. package/dist/VideoPublish/proxy/query.less +10 -0
  30. package/dist/VideoPublish/task-list/index.js +1 -1
  31. package/dist/VideoPublish/task-list/plan/list.js +4 -6
  32. package/dist/VideoPublish/task-list/plan/list.less +73 -0
  33. package/dist/VideoPublish/video-account/base-info.d.ts +12 -0
  34. package/dist/VideoPublish/video-account/base-info.js +69 -0
  35. package/dist/VideoPublish/video-account/base-info.less +92 -0
  36. package/dist/VideoPublish/video-account/index.js +40 -8
  37. package/dist/VideoPublish/video-account/index.less +10 -0
  38. package/dist/component/{media-show.d.ts → media-show/index.d.ts} +4 -4
  39. package/dist/component/{media-show.js → media-show/index.js} +10 -35
  40. package/dist/component/media-show/index.less +0 -0
  41. package/dist/component/media-show/render.d.ts +10 -0
  42. package/dist/component/media-show/render.js +111 -0
  43. package/dist/component/{media-show.less → media-show/render.less} +2 -1
  44. package/dist/config/apiUrls.js +1 -1
  45. package/dist/lib/Tool.js +4 -2
  46. package/dist/service/api/AuthController.d.ts +2 -0
  47. package/dist/service/api/VideoPublishVideoAccountProxyController.d.ts +11 -0
  48. package/dist/service/api/VideoPublishVideoAccountProxyController.js +105 -0
  49. package/dist/types/VideoPublishTaskPlan.d.ts +1 -0
  50. package/dist/types/VideoPublishVideoAccount.d.ts +11 -0
  51. package/dist/types/VideoPublishVideoAccountProxy.d.ts +32 -0
  52. package/dist/types/VideoPublishVideoAccountProxy.js +0 -0
  53. package/dist/typings/VideoPublishVideoAccount.d.ts +3 -1
  54. package/package.json +1 -1
@@ -0,0 +1,69 @@
1
+ import React from "react";
2
+ import "./base-info.less";
3
+ import { Avatar, Popconfirm, Tooltip } from "antd";
4
+ import VideoPlatformLogo from "../../component/video-platform/logo";
5
+ import { CloseOutlined } from "@ant-design/icons";
6
+ import { Fragment as _Fragment } from "react/jsx-runtime";
7
+ import { jsxs as _jsxs } from "react/jsx-runtime";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ var VideoPublishVideoAccountBaseInfo = function VideoPublishVideoAccountBaseInfo(_ref) {
10
+ var id = _ref.id,
11
+ _ref$className = _ref.className,
12
+ className = _ref$className === void 0 ? '' : _ref$className,
13
+ index = _ref.index,
14
+ accountInfo = _ref.accountInfo,
15
+ _ref$onClick = _ref.onClick,
16
+ _onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,
17
+ _ref$onDel = _ref.onDel,
18
+ onDel = _ref$onDel === void 0 ? function () {} : _ref$onDel;
19
+ return /*#__PURE__*/_jsx(Tooltip, {
20
+ title: /*#__PURE__*/_jsxs(_Fragment, {
21
+ children: ["\u6240\u5C5E\u5206\u7EC4\uFF1A", accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.groupName]
22
+ }),
23
+ children: /*#__PURE__*/_jsxs("article", {
24
+ className: "videoAccountBaseInfo ".concat(className, " ").concat(accountInfo !== null && accountInfo !== void 0 && accountInfo.isLoginValid ? "valid" : "invalid"),
25
+ onClick: function onClick() {
26
+ return _onClick();
27
+ },
28
+ children: [typeof index === 'number' && /*#__PURE__*/_jsx("i", {
29
+ className: "index",
30
+ children: index + 1
31
+ }), typeof id === 'number' && /*#__PURE__*/_jsx(Popconfirm, {
32
+ title: "\u5220\u9664\u8D26\u6237",
33
+ description: "\u786E\u5B9A\u5220\u9664\u8D26\u6237\uFF1F\u5220\u9664\u4E4B\u540E\u4E0D\u80FD\u53D1\u5E03\u89C6\u9891\u4E86",
34
+ onConfirm: function onConfirm() {
35
+ return onDel(id);
36
+ },
37
+ children: /*#__PURE__*/_jsx("a", {
38
+ className: "del",
39
+ children: /*#__PURE__*/_jsx(CloseOutlined, {})
40
+ })
41
+ }), /*#__PURE__*/_jsxs("div", {
42
+ className: "avatar",
43
+ children: [/*#__PURE__*/_jsx(Avatar, {
44
+ className: "avatarUrl",
45
+ size: 46,
46
+ src: (accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.avatar) || 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'
47
+ }), /*#__PURE__*/_jsx(Tooltip, {
48
+ title: accountInfo !== null && accountInfo !== void 0 && accountInfo.isLoginValid ? '登录有效' : '登录失效',
49
+ children: /*#__PURE__*/_jsx("div", {
50
+ className: "isLoginValid"
51
+ })
52
+ })]
53
+ }), /*#__PURE__*/_jsxs("div", {
54
+ className: "shopName",
55
+ children: [/*#__PURE__*/_jsx(VideoPlatformLogo, {
56
+ platform: (accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.platform) || '',
57
+ size: 12
58
+ }), accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.nickname, /*#__PURE__*/_jsx("div", {
59
+ className: "nicknameRemark",
60
+ children: accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.nicknameRemark
61
+ }), /*#__PURE__*/_jsx("div", {
62
+ className: "uniqueId",
63
+ children: accountInfo === null || accountInfo === void 0 ? void 0 : accountInfo.uniqueId
64
+ })]
65
+ })]
66
+ })
67
+ });
68
+ };
69
+ export default VideoPublishVideoAccountBaseInfo;
@@ -0,0 +1,92 @@
1
+ .videoAccountBaseInfo{
2
+ position: relative;
3
+ display: flex;
4
+ flex-direction: row;
5
+ cursor: pointer;
6
+ .index{
7
+ position: absolute;
8
+ top: 10px;
9
+ right: 4px;
10
+ font-size: 12px;
11
+ font-style: normal;
12
+ opacity: 0.3;
13
+ }
14
+ .del{
15
+ position: absolute;
16
+ bottom: 7px;
17
+ right: 4px;
18
+ padding: 3px;
19
+ font-size: 12px;
20
+ color: #FFF;
21
+ border-radius: 3px;
22
+ background-color: #C00;
23
+ line-height: 1em;
24
+ display: none;
25
+ }
26
+ &.valid{
27
+ .isLoginValid{
28
+ background-color: #00bc00;
29
+ }
30
+ .shopName{
31
+ color: #005a00;
32
+ }
33
+ }
34
+ &.invalid{
35
+ background-color: #e1e1e1;
36
+ .isLoginValid{
37
+ background-color: red;
38
+ }
39
+ .shopName{
40
+ color: #999;
41
+ font-weight: 300;
42
+ }
43
+ .avatarUrl{
44
+ opacity: 0.5;
45
+ filter: grayscale(100%);
46
+ }
47
+ }
48
+ .avatar{
49
+ position: relative;
50
+ width: 40px;
51
+ //box-shadow: 0 0 5px #EEE;
52
+ .avatarUrl{
53
+ border-radius: 100px;
54
+ box-shadow: 0 0 5px #EEE;
55
+ }
56
+ .isLoginValid{
57
+ position: absolute;
58
+ left: 35px;
59
+ top: 35px;
60
+ width: 8px;
61
+ height: 8px;
62
+ border-radius: 100px;
63
+ }
64
+ }
65
+ .shopName{
66
+ max-width: 150px;
67
+ color: #666;
68
+ display: inline-block;
69
+ text-overflow: ellipsis;
70
+ //line-height: 30px;
71
+ font-size: 12px;
72
+ padding: 1px 0 0 12px;
73
+ line-height: 1.1em;
74
+ word-break: keep-all;
75
+ white-space: nowrap;
76
+ overflow: hidden;
77
+ }
78
+ .nicknameRemark{
79
+ max-width: 150px;
80
+ color: #666;
81
+ text-overflow: ellipsis;
82
+ overflow: hidden;
83
+ //background-color: #F6F6F6;
84
+ padding: 2px 0 1px;
85
+ font-weight: 300;
86
+ }
87
+ .uniqueId{
88
+ padding: 1px 0 0;
89
+ font-size: 12px;
90
+ opacity: 0.6;
91
+ }
92
+ }
@@ -5,7 +5,7 @@ import "./index.less";
5
5
  import PageContentWarp from "../../UI/PageContentWarp";
6
6
  import { useRequest } from "@umijs/hooks";
7
7
  import * as VideoPublishController from "../../service/api/VideoPublishController";
8
- import { Avatar, Button, Divider, Table, Tag } from "antd";
8
+ import { Avatar, Button, Divider, Space, Table, Tag } from "antd";
9
9
  import VideoPublishVideoAccountListQuery from "./query";
10
10
  import VideoPlatform from "../../component/video-platform/logo";
11
11
  import Money from "../../UI/Money";
@@ -106,6 +106,27 @@ var VideoPublishVideoAccount = function VideoPublishVideoAccount(_ref) {
106
106
  })]
107
107
  });
108
108
  }
109
+ }, {
110
+ title: '网络代理',
111
+ dataIndex: 'proxyInfo',
112
+ key: 'proxyInfo',
113
+ render: function render(proxyInfo, record) {
114
+ return /*#__PURE__*/_jsxs("div", {
115
+ className: "proxyInfo",
116
+ children: [/*#__PURE__*/_jsx("div", {
117
+ children: proxyInfo.title
118
+ }), /*#__PURE__*/_jsxs("div", {
119
+ children: [proxyInfo.ip, proxyInfo.area && /*#__PURE__*/_jsxs(_Fragment, {
120
+ children: [/*#__PURE__*/_jsx(Divider, {
121
+ type: "vertical"
122
+ }), /*#__PURE__*/_jsx("span", {
123
+ className: "area",
124
+ children: proxyInfo.area
125
+ })]
126
+ })]
127
+ })]
128
+ });
129
+ }
109
130
  }, {
110
131
  title: /*#__PURE__*/_jsx(_Fragment, {
111
132
  children: "\u662F\u5426\u767B\u5F55"
@@ -144,13 +165,23 @@ var VideoPublishVideoAccount = function VideoPublishVideoAccount(_ref) {
144
165
  dataIndex: 'id',
145
166
  key: 'id',
146
167
  render: function render(id, record) {
147
- return /*#__PURE__*/_jsx(Button, {
148
- type: "link",
149
- size: "small",
150
- onClick: function onClick() {
151
- return onCreate(id);
152
- },
153
- children: "\u7F16\u8F91"
168
+ return /*#__PURE__*/_jsxs(Space, {
169
+ children: [/*#__PURE__*/_jsx(Button, {
170
+ type: "link",
171
+ size: "small",
172
+ onClick: function onClick() {
173
+ return onCreate(id);
174
+ },
175
+ children: "\u7F16\u8F91"
176
+ }), /*#__PURE__*/_jsx(Button, {
177
+ type: "link",
178
+ size: "small",
179
+ disabled: true,
180
+ onClick: function onClick() {
181
+ return onProxyEdit(id);
182
+ },
183
+ children: "\u4EE3\u7406"
184
+ })]
154
185
  });
155
186
  }
156
187
  }];
@@ -176,6 +207,7 @@ var VideoPublishVideoAccount = function VideoPublishVideoAccount(_ref) {
176
207
  setQuery(_objectSpread({}, query));
177
208
  runVideoAccount(query);
178
209
  };
210
+ var onProxyEdit = function onProxyEdit(id) {};
179
211
  var onCreateGroup = function onCreateGroup() {
180
212
  var groupId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
181
213
  var dialog = Tool.drawer({
@@ -41,4 +41,14 @@
41
41
  }
42
42
  }
43
43
 
44
+ .proxyInfo{
45
+ font-size: 12px;
46
+ .area{
47
+ padding: 2px 3px;
48
+ background-color: #F2F2F2;
49
+ border-radius: 3px;
50
+ font-weight: 300;
51
+ }
52
+ }
53
+
44
54
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import './media-show.less';
2
+ import './index.less';
3
3
  interface Prop {
4
4
  title?: string;
5
5
  className?: string;
@@ -8,6 +8,6 @@ interface Prop {
8
8
  height: number;
9
9
  }
10
10
  type TypeKind = 'video' | "image" | "font" | 'audio';
11
- export declare const onMediaShowView: (title: string, url: string, typeKind: '' | TypeKind) => void;
12
- declare const MediaShow: React.FC<Prop>;
13
- export default MediaShow;
11
+ export declare const onMediaShowView: (title: string, url: string, typeKind: TypeKind | '') => void;
12
+ declare const Index: React.FC<Prop>;
13
+ export default Index;
@@ -1,49 +1,24 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import React, { useState } from "react";
3
- import "./media-show.less";
4
- import Tool from "../lib/Tool";
3
+ import "./index.less";
4
+ import Tool from "../../lib/Tool";
5
5
  import { PlayCircleOutlined, SoundOutlined } from "@ant-design/icons";
6
- import { GetMineTypeByUrl } from "./media-kind";
7
- import getVideoUrl from "../lib/component/getVideoUrl";
6
+ import { GetMineTypeByUrl } from "../media-kind";
7
+ import MediaShowRender from "./render";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  import { jsxs as _jsxs } from "react/jsx-runtime";
10
10
  export var onMediaShowView = function onMediaShowView(title, url, typeKind) {
11
- var mediaUrl = getVideoUrl(url);
12
11
  Tool.drawer({
13
12
  title: title,
14
- content: /*#__PURE__*/_jsxs("div", {
15
- className: "mediaShow",
16
- children: [["image", "font"].includes(typeKind) && /*#__PURE__*/_jsx("div", {
17
- className: "image",
18
- style: {
19
- backgroundImage: "url(\"".concat(mediaUrl, "\")")
20
- }
21
- }), typeKind === "audio" && /*#__PURE__*/_jsx("div", {
22
- className: "audio",
23
- children: /*#__PURE__*/_jsx("audio", {
24
- controls: true,
25
- autoPlay: true,
26
- children: /*#__PURE__*/_jsx("source", {
27
- src: mediaUrl
28
- })
29
- })
30
- }), typeKind === "video" && /*#__PURE__*/_jsx("div", {
31
- className: "video",
32
- children: /*#__PURE__*/_jsx("video", {
33
- width: "100%",
34
- height: "100%",
35
- controls: true,
36
- autoPlay: true,
37
- children: /*#__PURE__*/_jsx("source", {
38
- src: mediaUrl
39
- })
40
- })
41
- })]
13
+ content: /*#__PURE__*/_jsx(MediaShowRender, {
14
+ title: title,
15
+ url: url,
16
+ typeKind: typeKind
42
17
  }),
43
18
  width: 580
44
19
  });
45
20
  };
46
- var MediaShow = function MediaShow(_ref) {
21
+ var Index = function Index(_ref) {
47
22
  var _ref$title = _ref.title,
48
23
  title = _ref$title === void 0 ? '' : _ref$title,
49
24
  className = _ref.className,
@@ -81,4 +56,4 @@ var MediaShow = function MediaShow(_ref) {
81
56
  })]
82
57
  });
83
58
  };
84
- export default MediaShow;
59
+ export default Index;
File without changes
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import './render.less';
3
+ type TypeKind = 'video' | "image" | "font" | 'audio';
4
+ interface Props {
5
+ title: string;
6
+ url: string;
7
+ typeKind: '' | TypeKind;
8
+ }
9
+ export declare const MediaShowRender: React.FC<Props>;
10
+ export default MediaShowRender;
@@ -0,0 +1,111 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
+ import React, { useEffect, useState } from "react";
5
+ import "./render.less";
6
+ import Tool from "../../lib/Tool";
7
+ import getVideoUrl from "../../lib/component/getVideoUrl";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ import { Fragment as _Fragment } from "react/jsx-runtime";
10
+ import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ export var MediaShowRender = function MediaShowRender(_ref) {
12
+ var title = _ref.title,
13
+ url = _ref.url,
14
+ typeKind = _ref.typeKind;
15
+ var _useState = useState(''),
16
+ _useState2 = _slicedToArray(_useState, 2),
17
+ pathLink = _useState2[0],
18
+ setPathLink = _useState2[1];
19
+ var fetchVideoAsBlob = /*#__PURE__*/function () {
20
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21
+ var response, blob, _pathLink;
22
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
23
+ while (1) switch (_context.prev = _context.next) {
24
+ case 0:
25
+ if (!/^https?:/i.test(url)) {
26
+ _context.next = 3;
27
+ break;
28
+ }
29
+ setPathLink(url);
30
+ return _context.abrupt("return");
31
+ case 3:
32
+ _context.prev = 3;
33
+ _context.next = 6;
34
+ return fetch(getVideoUrl(url)).catch(function (err) {
35
+ Tool.toastError('获取视频失败');
36
+ });
37
+ case 6:
38
+ response = _context.sent;
39
+ if (response) {
40
+ _context.next = 9;
41
+ break;
42
+ }
43
+ return _context.abrupt("return");
44
+ case 9:
45
+ _context.next = 11;
46
+ return response.blob().catch(function (err) {
47
+ Tool.toastError('获取视频失败 2:' + (err === null || err === void 0 ? void 0 : err.message));
48
+ });
49
+ case 11:
50
+ blob = _context.sent;
51
+ if (blob) {
52
+ _context.next = 14;
53
+ break;
54
+ }
55
+ return _context.abrupt("return");
56
+ case 14:
57
+ _pathLink = URL.createObjectURL(blob);
58
+ setPathLink(_pathLink);
59
+ // const mediaUrl = getVideoUrl( url );
60
+ _context.next = 21;
61
+ break;
62
+ case 18:
63
+ _context.prev = 18;
64
+ _context.t0 = _context["catch"](3);
65
+ console.error('There has been a problem with your fetch operation:', _context.t0);
66
+ case 21:
67
+ case "end":
68
+ return _context.stop();
69
+ }
70
+ }, _callee, null, [[3, 18]]);
71
+ }));
72
+ return function fetchVideoAsBlob() {
73
+ return _ref2.apply(this, arguments);
74
+ };
75
+ }();
76
+ useEffect(function () {
77
+ fetchVideoAsBlob();
78
+ }, []);
79
+ return /*#__PURE__*/_jsx("div", {
80
+ className: "mediaShow",
81
+ children: pathLink ? /*#__PURE__*/_jsxs(_Fragment, {
82
+ children: [["image", "font"].includes(typeKind) && /*#__PURE__*/_jsx("div", {
83
+ className: "image",
84
+ style: {
85
+ backgroundImage: "url(\"".concat(pathLink, "\")")
86
+ }
87
+ }), typeKind === "audio" && /*#__PURE__*/_jsx("div", {
88
+ className: "audio",
89
+ children: /*#__PURE__*/_jsx("audio", {
90
+ controls: true,
91
+ autoPlay: true,
92
+ children: /*#__PURE__*/_jsx("source", {
93
+ src: pathLink
94
+ })
95
+ })
96
+ }), typeKind === "video" && /*#__PURE__*/_jsx("div", {
97
+ className: "video",
98
+ children: /*#__PURE__*/_jsx("video", {
99
+ width: "100%",
100
+ height: "100%",
101
+ controls: true,
102
+ autoPlay: true,
103
+ children: /*#__PURE__*/_jsx("source", {
104
+ src: pathLink
105
+ })
106
+ })
107
+ })]
108
+ }) : '...'
109
+ });
110
+ };
111
+ export default MediaShowRender;
@@ -38,7 +38,8 @@
38
38
  position: relative;
39
39
  display: flex;
40
40
  flex-direction: column;
41
- height: 100%;
41
+ height: 90vh;
42
+ overflow: hidden;
42
43
  justify-content: center;
43
44
  text-align: center;
44
45
  background-color: #000;
@@ -1,5 +1,5 @@
1
1
  // 业务服务器 api
2
- export var currentEnv = 'local';
2
+ export var currentEnv = 'prod';
3
3
  var ApiUrls = {
4
4
  local: {
5
5
  api: 'http://localhost:9999/',
package/dist/lib/Tool.js CHANGED
@@ -13,7 +13,7 @@ if (!window.__events) {
13
13
 
14
14
  // import { history } from 'umi';
15
15
 
16
- import ReactDOM from 'react-dom';
16
+ import ReactDOM from 'react-dom/client';
17
17
  import { useRequest } from '@umijs/hooks';
18
18
  import moment from 'moment';
19
19
  import DialogDrawer from "../UI/DialogDrawer";
@@ -947,7 +947,9 @@ var Tool = _objectSpread(_objectSpread({
947
947
  drawer.id = id;
948
948
  query.id = id;
949
949
  document.body.appendChild(drawer);
950
- ReactDOM.render( /*#__PURE__*/_jsx(DialogDrawer, _objectSpread({}, query)), document.getElementById(id));
950
+ // ReactDOM.render(<DialogDrawer {...query} />, document.getElementById(id));
951
+
952
+ ReactDOM.createRoot(drawer).render( /*#__PURE__*/_jsx(DialogDrawer, _objectSpread({}, query)));
951
953
  var outData = {
952
954
  // onClose(){
953
955
  //
@@ -3,6 +3,7 @@ export declare function login(body: {
3
3
  accountName: string;
4
4
  password: string;
5
5
  from: "web";
6
+ clientUniqueKeyList?: string[];
6
7
  inviteUserId: number;
7
8
  }, options?: ServicesApi.RequestOptions): Promise<UserAuth.LoginSuccessData>;
8
9
  export declare function weMiniLoginQr(body: {
@@ -18,4 +19,5 @@ export declare function reg(body: {
18
19
  accountName: string;
19
20
  password: string;
20
21
  inviteUserId: number;
22
+ clientUniqueKeyList?: string[];
21
23
  }, options?: ServicesApi.RequestOptions): Promise<UserAuth.LoginSuccessData>;
@@ -0,0 +1,11 @@
1
+ export declare function detail(body?: {
2
+ id: number;
3
+ }, options?: ServicesApi.RequestOptions): Promise<VideoPublishVideoAccountProxy.List>;
4
+ export declare function list(body?: {
5
+ current: number;
6
+ pageSize: number;
7
+ }, options?: ServicesApi.RequestOptions): Promise<VideoPublishVideoAccountProxy.ListResult>;
8
+ export declare function create(body: VideoPublishVideoAccountProxy.CreateQuery, options?: ServicesApi.RequestOptions): Promise<boolean>;
9
+ export declare function del(body: {
10
+ id: number;
11
+ }, options?: ServicesApi.RequestOptions): Promise<boolean>;
@@ -0,0 +1,105 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
4
+ import request from "../../lib/request";
5
+ import { PublishDomainApi } from "./VideoPublishController";
6
+ export function detail(_x, _x2) {
7
+ return _detail.apply(this, arguments);
8
+ }
9
+ function _detail() {
10
+ _detail = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
11
+ var url;
12
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
13
+ while (1) switch (_context.prev = _context.next) {
14
+ case 0:
15
+ url = PublishDomainApi("user/videoAccountProxy/detail", options === null || options === void 0 ? void 0 : options.env);
16
+ return _context.abrupt("return", request(url, _objectSpread({
17
+ method: 'POST',
18
+ headers: {
19
+ 'Content-Type': 'application/json'
20
+ },
21
+ data: _objectSpread({}, body)
22
+ }, options || {})));
23
+ case 2:
24
+ case "end":
25
+ return _context.stop();
26
+ }
27
+ }, _callee);
28
+ }));
29
+ return _detail.apply(this, arguments);
30
+ }
31
+ export function list(_x3, _x4) {
32
+ return _list.apply(this, arguments);
33
+ }
34
+ function _list() {
35
+ _list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body, options) {
36
+ var url;
37
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
38
+ while (1) switch (_context2.prev = _context2.next) {
39
+ case 0:
40
+ url = PublishDomainApi("user/videoAccountProxy/list", options === null || options === void 0 ? void 0 : options.env);
41
+ return _context2.abrupt("return", request(url, _objectSpread({
42
+ method: 'POST',
43
+ headers: {
44
+ 'Content-Type': 'application/json'
45
+ },
46
+ data: _objectSpread({}, body)
47
+ }, options || {})));
48
+ case 2:
49
+ case "end":
50
+ return _context2.stop();
51
+ }
52
+ }, _callee2);
53
+ }));
54
+ return _list.apply(this, arguments);
55
+ }
56
+ export function create(_x5, _x6) {
57
+ return _create.apply(this, arguments);
58
+ }
59
+ function _create() {
60
+ _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(body, options) {
61
+ var url;
62
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
63
+ while (1) switch (_context3.prev = _context3.next) {
64
+ case 0:
65
+ url = PublishDomainApi("user/videoAccountProxy/create", options === null || options === void 0 ? void 0 : options.env);
66
+ return _context3.abrupt("return", request(url, _objectSpread({
67
+ method: 'POST',
68
+ headers: {
69
+ 'Content-Type': 'application/json'
70
+ },
71
+ data: _objectSpread({}, body)
72
+ }, options || {})));
73
+ case 2:
74
+ case "end":
75
+ return _context3.stop();
76
+ }
77
+ }, _callee3);
78
+ }));
79
+ return _create.apply(this, arguments);
80
+ }
81
+ export function del(_x7, _x8) {
82
+ return _del.apply(this, arguments);
83
+ }
84
+ function _del() {
85
+ _del = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body, options) {
86
+ var url;
87
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
88
+ while (1) switch (_context4.prev = _context4.next) {
89
+ case 0:
90
+ url = PublishDomainApi("user/videoAccountProxy/del", options === null || options === void 0 ? void 0 : options.env);
91
+ return _context4.abrupt("return", request(url, _objectSpread({
92
+ method: 'POST',
93
+ headers: {
94
+ 'Content-Type': 'application/json'
95
+ },
96
+ data: _objectSpread({}, body)
97
+ }, options || {})));
98
+ case 2:
99
+ case "end":
100
+ return _context4.stop();
101
+ }
102
+ }, _callee4);
103
+ }));
104
+ return _del.apply(this, arguments);
105
+ }
@@ -16,6 +16,7 @@ declare namespace VideoPublishTaskPlan {
16
16
  kindTagValue: string;
17
17
  videoUrl: string;
18
18
  publishTime: number;
19
+ accountInfo: VideoPublishVideoAccount.BaseInfo;
19
20
  }
20
21
  interface ListQuery {
21
22
  }
@@ -11,4 +11,15 @@ declare namespace VideoPublishVideoAccount {
11
11
  groupId: number;
12
12
  nicknameRemark: string;
13
13
  }
14
+ interface BaseInfo {
15
+ "platform": Global.VideoPlatformKind;
16
+ isLoginValid: boolean;
17
+ "groupId": number;
18
+ "groupName": string;
19
+ "uniqueId": string;
20
+ "accountId": string;
21
+ "avatar": string;
22
+ "nickname": string;
23
+ "nicknameRemark": string;
24
+ }
14
25
  }