component-shipinlv 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/UI/DialogDrawer.css.js +1 -1
- package/dist/UI/LayoutContent.js +2 -2
- package/dist/UI/LayoutContent.less +3 -3
- package/dist/VideoPublish/account-manage/home.js +3 -1
- package/dist/VideoPublish/account-manage/list.js +19 -44
- package/dist/VideoPublish/account-manage/list.less +0 -72
- package/dist/VideoPublish/create-task/base/index.js +1 -0
- package/dist/VideoPublish/create-task/index.js +6 -4
- package/dist/VideoPublish/index.js +13 -1
- package/dist/VideoPublish/proxy/create.d.ts +8 -0
- package/dist/VideoPublish/proxy/create.js +154 -0
- package/dist/VideoPublish/proxy/list.d.ts +9 -0
- package/dist/VideoPublish/proxy/list.js +245 -0
- package/dist/VideoPublish/proxy/list.less +3 -0
- package/dist/VideoPublish/proxy/query.d.ts +9 -0
- package/dist/VideoPublish/proxy/query.js +75 -0
- package/dist/VideoPublish/proxy/query.less +10 -0
- package/dist/VideoPublish/task-list/index.js +1 -1
- package/dist/VideoPublish/task-list/plan/list.js +4 -6
- package/dist/VideoPublish/task-list/plan/list.less +73 -0
- package/dist/VideoPublish/video-account/base-info.d.ts +12 -0
- package/dist/VideoPublish/video-account/base-info.js +69 -0
- package/dist/VideoPublish/video-account/base-info.less +92 -0
- package/dist/VideoPublish/video-account/index.js +40 -8
- package/dist/VideoPublish/video-account/index.less +10 -0
- package/dist/component/{media-show.d.ts → media-show/index.d.ts} +4 -4
- package/dist/component/{media-show.js → media-show/index.js} +10 -35
- package/dist/component/media-show/index.less +0 -0
- package/dist/component/media-show/render.d.ts +10 -0
- package/dist/component/media-show/render.js +111 -0
- package/dist/component/{media-show.less → media-show/render.less} +2 -1
- package/dist/lib/Tool.js +4 -2
- package/dist/service/api/VideoPublishVideoAccountProxyController.d.ts +11 -0
- package/dist/service/api/VideoPublishVideoAccountProxyController.js +105 -0
- package/dist/types/VideoPublishTaskPlan.d.ts +1 -0
- package/dist/types/VideoPublishVideoAccount.d.ts +11 -0
- package/dist/types/VideoPublishVideoAccountProxy.d.ts +32 -0
- package/dist/types/VideoPublishVideoAccountProxy.js +0 -0
- package/dist/typings/VideoPublishVideoAccount.d.ts +3 -1
- package/package.json +1 -1
@@ -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__*/
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
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({
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import './
|
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:
|
12
|
-
declare const
|
13
|
-
export default
|
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 "./
|
4
|
-
import Tool from "
|
3
|
+
import "./index.less";
|
4
|
+
import Tool from "../../lib/Tool";
|
5
5
|
import { PlayCircleOutlined, SoundOutlined } from "@ant-design/icons";
|
6
|
-
import { GetMineTypeByUrl } from "
|
7
|
-
import
|
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__*/
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
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
|
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;
|
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(
|
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
|
//
|
@@ -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
|
+
}
|
@@ -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
|
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
declare namespace VideoPublishVideoAccountProxy {
|
2
|
+
interface List {
|
3
|
+
id: number;
|
4
|
+
ip: string;
|
5
|
+
port: number;
|
6
|
+
title: string;
|
7
|
+
area: string;
|
8
|
+
enabled: boolean;
|
9
|
+
username: string;
|
10
|
+
password: string;
|
11
|
+
created: number;
|
12
|
+
updated: number;
|
13
|
+
}
|
14
|
+
interface ListResult {
|
15
|
+
list: List[];
|
16
|
+
pagination: Global.Pagination;
|
17
|
+
}
|
18
|
+
interface ListQuery {
|
19
|
+
enabled: '1' | '0' | '';
|
20
|
+
keyword: string;
|
21
|
+
}
|
22
|
+
interface CreateQuery {
|
23
|
+
id: number;
|
24
|
+
ip: string;
|
25
|
+
title: string;
|
26
|
+
area: string;
|
27
|
+
port: number;
|
28
|
+
enabled: boolean;
|
29
|
+
username: string;
|
30
|
+
password: string;
|
31
|
+
}
|
32
|
+
}
|
File without changes
|
@@ -32,11 +32,13 @@ declare namespace VideoPublishVideoAccount {
|
|
32
32
|
userId: number;
|
33
33
|
platform: Global.VideoPlatformKind;
|
34
34
|
groupId: number;
|
35
|
-
|
35
|
+
groupName: string;
|
36
|
+
uniqueId: string;
|
36
37
|
accountId: string;
|
37
38
|
avatar: string;
|
38
39
|
bindPhone: string;
|
39
40
|
nickname: string;
|
41
|
+
nicknameRemark: string;
|
40
42
|
signature: string;
|
41
43
|
isLoginValid: boolean;
|
42
44
|
followerCount: number;
|