component-shipinlv 1.1.22 → 1.1.25

Sign up to get free protection for your applications and to get access to all the features.
package/dist/UI/Time.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface Props {
3
3
  time?: string | number;
4
+ className?: string;
4
5
  serverTime?: number;
5
6
  titlePre?: string;
6
7
  }
package/dist/UI/Time.js CHANGED
@@ -5,6 +5,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  var Time = function Time(_ref) {
6
6
  var _ref$time = _ref.time,
7
7
  time = _ref$time === void 0 ? '' : _ref$time,
8
+ className = _ref.className,
8
9
  _ref$serverTime = _ref.serverTime,
9
10
  serverTime = _ref$serverTime === void 0 ? Date.now() : _ref$serverTime,
10
11
  _ref$titlePre = _ref.titlePre,
@@ -12,6 +13,7 @@ var Time = function Time(_ref) {
12
13
  return /*#__PURE__*/_jsx(Tooltip, {
13
14
  title: "".concat(titlePre).concat(Tool.formatTime(time, 'YYYY-MM-DD HH:mm')),
14
15
  children: /*#__PURE__*/_jsx("span", {
16
+ className: className,
15
17
  children: Tool.getFriendlyTime(time, serverTime)
16
18
  })
17
19
  });
@@ -202,7 +202,8 @@ var HomePageAccountList = function HomePageAccountList(_ref) {
202
202
  case 12:
203
203
  console.log('addAccountResult:', addAccountResult, env);
204
204
  postData = {
205
- detail: addAccountResult
205
+ detail: addAccountResult,
206
+ proxyId: proxyInfo.id || 0
206
207
  };
207
208
  runCreate(postData);
208
209
  case 15:
@@ -1,12 +1,13 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  import React, { useState } from 'react';
4
- import { Button, Form, Input, InputNumber, Switch } from 'antd';
4
+ import { Button, DatePicker, Form, Input, InputNumber, Switch } from 'antd';
5
5
  import { useRequest } from "@umijs/hooks";
6
6
  import PageContentWarp from "../../UI/PageContentWarp";
7
7
  import DialogDrawerFooter from "../../UI/DialogDrawerFooter";
8
8
  import * as VideoPublishVideoAccountProxyController from "../../service/api/VideoPublishVideoAccountProxyController";
9
9
  import toast from "../../lib/toast";
10
+ import dayjs from "dayjs";
10
11
  import { jsx as _jsx } from "react/jsx-runtime";
11
12
  import { jsxs as _jsxs } from "react/jsx-runtime";
12
13
  var VideoPublishVideoAccountProxyCreate = function VideoPublishVideoAccountProxyCreate(_ref) {
@@ -25,6 +26,7 @@ var VideoPublishVideoAccountProxyCreate = function VideoPublishVideoAccountProxy
25
26
  enabled: true,
26
27
  username: '',
27
28
  password: '',
29
+ expired: 0,
28
30
  created: 0,
29
31
  updated: 0
30
32
  }),
@@ -41,7 +43,9 @@ var VideoPublishVideoAccountProxyCreate = function VideoPublishVideoAccountProxy
41
43
  manual: id <= 0,
42
44
  onSuccess: function onSuccess(result) {
43
45
  setDetailData(result);
44
- form.setFieldsValue(_objectSpread({}, result));
46
+ form.setFieldsValue(_objectSpread(_objectSpread({}, result), {}, {
47
+ expired: result.expired <= 0 ? null : dayjs(result.expired * 1000)
48
+ }));
45
49
  }
46
50
  }),
47
51
  loadingDetail = _useRequest.loading,
@@ -61,7 +65,8 @@ var VideoPublishVideoAccountProxyCreate = function VideoPublishVideoAccountProxy
61
65
  run = _useRequest2.run;
62
66
  var onFinish = function onFinish(values) {
63
67
  run(_objectSpread(_objectSpread({}, values), {}, {
64
- id: id
68
+ id: id,
69
+ expired: values.expired ? Math.floor(values.expired.valueOf() * 0.001) : 0
65
70
  }));
66
71
  };
67
72
  return /*#__PURE__*/_jsx(PageContentWarp, {
@@ -140,6 +145,16 @@ var VideoPublishVideoAccountProxyCreate = function VideoPublishVideoAccountProxy
140
145
  children: /*#__PURE__*/_jsx(Input, {
141
146
  placeholder: "\u8F93\u5165IP\u5730\u5740 \u5F52\u5C5E\u5730\uFF0C\u53EA\u662F\u65B9\u4FBF\u7BA1\u7406"
142
147
  })
148
+ }), /*#__PURE__*/_jsx(Form.Item, {
149
+ name: "expired",
150
+ label: "\u8FC7\u671F\u65F6\u95F4",
151
+ children: /*#__PURE__*/_jsx(DatePicker, {
152
+ minDate: dayjs(Date.now() - 86400e3 * 60),
153
+ maxDate: dayjs(Date.now() + 86400e3 * 365 * 2),
154
+ disabledDate: function disabledDate(e) {
155
+ return e.valueOf() < Date.now() - 86400e3 * 2;
156
+ }
157
+ })
143
158
  }), /*#__PURE__*/_jsx(Form.Item, {
144
159
  name: "enabled",
145
160
  label: "\u662F\u5426\u542F\u7528",
@@ -12,6 +12,8 @@ import LayoutContent from "../../UI/LayoutContent";
12
12
  import VideoPublishVideoAccountProxyQuery from "./query";
13
13
  import VideoPublishVideoAccountProxyCreate from "./create";
14
14
  import { PlusCircleOutlined } from "@ant-design/icons";
15
+ import Money from "../../UI/Money";
16
+ import Time from "../../UI/Time";
15
17
  import { jsx as _jsx } from "react/jsx-runtime";
16
18
  import { Fragment as _Fragment } from "react/jsx-runtime";
17
19
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -93,6 +95,28 @@ var VideoPublishVideoAccountProxy = function VideoPublishVideoAccountProxy(_ref)
93
95
  children: [auth, record === null || record === void 0 ? void 0 : record.ip, port]
94
96
  });
95
97
  }
98
+ }, {
99
+ title: '过期时间',
100
+ dataIndex: 'expired',
101
+ key: 'expired',
102
+ render: function render(expired) {
103
+ return /*#__PURE__*/_jsx(Time, {
104
+ className: expired > 0 && expired - Date.now() * 0.001 < 86400 * 7 ? 'timeWarn' : '',
105
+ time: expired
106
+ });
107
+ }
108
+ }, {
109
+ title: '关联账号数',
110
+ dataIndex: 'bindAccountCount',
111
+ key: 'bindAccountCount',
112
+ render: function render(bindAccountCount) {
113
+ return /*#__PURE__*/_jsx(Money, {
114
+ precision: 0,
115
+ pre: "",
116
+ end: "\u4E2A",
117
+ value: bindAccountCount
118
+ });
119
+ }
96
120
  }, {
97
121
  title: /*#__PURE__*/_jsx(_Fragment, {
98
122
  children: "\u662F\u5426\u542F\u7528"
@@ -172,11 +196,6 @@ var VideoPublishVideoAccountProxy = function VideoPublishVideoAccountProxy(_ref)
172
196
  }),
173
197
  loadingDel = _useRequest2.loading,
174
198
  runDel = _useRequest2.run;
175
- var onSearch = function onSearch(keyword) {
176
- var _keyword$replace;
177
- var list = (keyword === null || keyword === void 0 || (_keyword$replace = keyword.replace(/\s+/g, '')) === null || _keyword$replace === void 0 ? void 0 : _keyword$replace.split('')) || [];
178
- run();
179
- };
180
199
  var onCreate = /*#__PURE__*/function () {
181
200
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
182
201
  var dialog;
@@ -184,7 +203,7 @@ var VideoPublishVideoAccountProxy = function VideoPublishVideoAccountProxy(_ref)
184
203
  while (1) switch (_context.prev = _context.next) {
185
204
  case 0:
186
205
  dialog = Tool.drawer({
187
- title: '编辑',
206
+ title: '编辑网络代理',
188
207
  content: /*#__PURE__*/_jsx(VideoPublishVideoAccountProxyCreate, {
189
208
  id: id,
190
209
  env: env,
@@ -1,3 +1,10 @@
1
1
  .videoPublishVideoAccountProxy{
2
+ .timeWarn{
3
+ color: #FFF;
4
+ background-color: #C00;
5
+ padding: 2px 6px;
6
+ line-height: 1em;
7
+ border-radius: 3px;
8
+ }
2
9
 
3
10
  }
@@ -84,8 +84,11 @@ var VideoPublishTaskList = function VideoPublishTaskList(_ref) {
84
84
  title: /*#__PURE__*/_jsx(_Fragment, {
85
85
  children: "\u72B6\u6001"
86
86
  }),
87
- dataIndex: 'taskStatus',
88
- key: 'taskStatus'
87
+ dataIndex: 'planStatus',
88
+ key: 'planStatus',
89
+ render: function render(planStatus) {
90
+ return ''; // <VideoPublishTaskPlanStatus status={ planStatus } />
91
+ }
89
92
  }, {
90
93
  title: /*#__PURE__*/_jsx(_Fragment, {
91
94
  children: "\u5F00\u59CB\u65F6\u95F4"
@@ -152,7 +155,7 @@ var VideoPublishTaskList = function VideoPublishTaskList(_ref) {
152
155
  env: env,
153
156
  publishTaskId: publishTaskId
154
157
  }),
155
- width: 1020
158
+ width: 1200
156
159
  });
157
160
  };
158
161
  return /*#__PURE__*/_jsx(PageContentWarp, {
@@ -5,15 +5,17 @@ import "./list.less";
5
5
  import PageContentWarp from "../../../UI/PageContentWarp";
6
6
  import { useRequest } from "@umijs/hooks";
7
7
  import * as VideoPublishTaskPlanController from "../../../service/api/VideoPublishTaskPlanController";
8
- import { Button, Popover, Space, Table } from "antd";
8
+ import { Popover, Table, Tooltip } from "antd";
9
9
  import Time from "../../../UI/Time";
10
10
  import VideoPublishTaskPlanStatus from "./status";
11
- import { FileTextOutlined, VideoCameraOutlined } from "@ant-design/icons";
11
+ import { FileTextOutlined, QuestionCircleOutlined, VideoCameraOutlined } from "@ant-design/icons";
12
12
  import VideoKindTag from "../../../component/videoKindTag";
13
13
  import { onMediaShowView } from "../../../component/media-show";
14
14
  import VideoPublishVideoAccountBaseInfo from "../../video-account/base-info";
15
+ import VideoPublishTaskPlanOperate from "./operate";
15
16
  import { jsx as _jsx } from "react/jsx-runtime";
16
17
  import { Fragment as _Fragment } from "react/jsx-runtime";
18
+ import { jsxs as _jsxs } from "react/jsx-runtime";
17
19
  var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
18
20
  var env = _ref.env,
19
21
  _ref$publishTaskId = _ref.publishTaskId,
@@ -64,15 +66,27 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
64
66
  accountInfo: record === null || record === void 0 ? void 0 : record.accountInfo
65
67
  });
66
68
  }
69
+ }, {
70
+ title: '来源任务',
71
+ dataIndex: 'productTaskId',
72
+ key: 'productTaskId'
67
73
  }, {
68
74
  title: /*#__PURE__*/_jsx(_Fragment, {
69
75
  children: "\u72B6\u6001"
70
76
  }),
71
77
  dataIndex: 'status',
72
78
  key: 'status',
73
- render: function render(status) {
74
- return /*#__PURE__*/_jsx(VideoPublishTaskPlanStatus, {
75
- status: status
79
+ render: function render(status, record) {
80
+ return /*#__PURE__*/_jsxs("div", {
81
+ children: [/*#__PURE__*/_jsx(VideoPublishTaskPlanStatus, {
82
+ status: status
83
+ }), (record === null || record === void 0 ? void 0 : record.taskMessage) && /*#__PURE__*/_jsx(Tooltip, {
84
+ title: record === null || record === void 0 ? void 0 : record.taskMessage,
85
+ children: /*#__PURE__*/_jsx("a", {
86
+ className: "high",
87
+ children: /*#__PURE__*/_jsx(QuestionCircleOutlined, {})
88
+ })
89
+ })]
76
90
  });
77
91
  }
78
92
  }, {
@@ -114,7 +128,7 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
114
128
  });
115
129
  }
116
130
  }, {
117
- title: '带货/小程序',
131
+ title: '标签',
118
132
  dataIndex: 'kindTagValue',
119
133
  key: 'kindTagValue',
120
134
  render: function render(kindTagValue, record) {
@@ -128,7 +142,7 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
128
142
  });
129
143
  }
130
144
  }, {
131
- title: '商品标题',
145
+ title: '品标',
132
146
  dataIndex: 'goodsTitle',
133
147
  key: 'goodsTitle',
134
148
  render: function render(goodsTitle, record) {
@@ -157,7 +171,7 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
157
171
  }
158
172
  }, {
159
173
  title: /*#__PURE__*/_jsx(_Fragment, {
160
- children: "\u53D1\u5E03\u65F6\u95F4"
174
+ children: "\u5BF9\u5916\u5C55\u793A"
161
175
  }),
162
176
  dataIndex: 'publishTime',
163
177
  key: 'publishTime',
@@ -171,16 +185,16 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
171
185
  dataIndex: '——',
172
186
  key: '——',
173
187
  render: function render(_, record) {
174
- return /*#__PURE__*/_jsx(Space, {
175
- children: /*#__PURE__*/_jsx(Button, {
176
- type: "link",
177
- size: "small",
178
- disabled: true,
179
- onChange: function onChange() {
180
- return onPause((record === null || record === void 0 ? void 0 : record.id) || 0);
181
- },
182
- children: "\u5E9F\u9664"
183
- })
188
+ // const status = record?.status || '';
189
+ if (!record) {
190
+ return record;
191
+ }
192
+ return /*#__PURE__*/_jsx(VideoPublishTaskPlanOperate, {
193
+ itemData: record,
194
+ env: env,
195
+ onStatusChange: function onStatusChange() {
196
+ runTaskList();
197
+ }
184
198
  });
185
199
  }
186
200
  }];
@@ -188,7 +202,6 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
188
202
  setQuery(_objectSpread({}, query));
189
203
  runTaskList(query, 1);
190
204
  };
191
- var onPause = function onPause(planId) {};
192
205
  var _useRequest = useRequest(function () {
193
206
  var postQuery = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : query;
194
207
  var current = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pagination.current;
@@ -229,6 +242,9 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
229
242
  rowKey: function rowKey(record) {
230
243
  return "".concat(record.id);
231
244
  },
245
+ rowClassName: function rowClassName(record) {
246
+ return "row-".concat(record.status);
247
+ },
232
248
  loading: false,
233
249
  columns: columns,
234
250
  dataSource: listData,
@@ -78,4 +78,10 @@
78
78
  opacity: 0.6;
79
79
  }
80
80
  }
81
+
82
+ .row-repeal{
83
+ //opacity: 0.5;
84
+ -webkit-filter: grayscale(100%);
85
+ filter: grayscale(100%);
86
+ }
81
87
  }
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface Props {
3
+ env?: Global.Env;
4
+ itemData: VideoPublishTaskPlan.List;
5
+ onStatusChange: () => void;
6
+ }
7
+ declare const VideoPublishTaskPlanOperate: React.FC<Props>;
8
+ export default VideoPublishTaskPlanOperate;
@@ -0,0 +1,73 @@
1
+ import { Button, Popconfirm, Space } from "antd";
2
+ import React from "react";
3
+ import { useRequest } from "@umijs/hooks";
4
+ import * as VideoPublishTaskPlanController from "../../../service/api/VideoPublishTaskPlanController";
5
+ import { RedoOutlined, StopOutlined } from "@ant-design/icons";
6
+ import Tool from "../../../lib/Tool";
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var VideoPublishTaskPlanOperate = function VideoPublishTaskPlanOperate(_ref) {
10
+ var env = _ref.env,
11
+ itemData = _ref.itemData,
12
+ _ref$onStatusChange = _ref.onStatusChange,
13
+ onStatusChange = _ref$onStatusChange === void 0 ? function () {} : _ref$onStatusChange;
14
+ var _useRequest = useRequest(function () {
15
+ return VideoPublishTaskPlanController.repeal({
16
+ planId: itemData.id
17
+ }, {
18
+ env: env
19
+ });
20
+ }, {
21
+ manual: true,
22
+ onSuccess: function onSuccess() {
23
+ Tool.toast('已经改为【废除】状态');
24
+ onStatusChange();
25
+ }
26
+ }),
27
+ runRepeal = _useRequest.run,
28
+ loadingRepeal = _useRequest.loading;
29
+ var _useRequest2 = useRequest(function () {
30
+ return VideoPublishTaskPlanController.retry({
31
+ planId: itemData.id
32
+ }, {
33
+ env: env
34
+ });
35
+ }, {
36
+ manual: true,
37
+ onSuccess: function onSuccess() {
38
+ Tool.toast('已经改为【等待】状态');
39
+ onStatusChange();
40
+ }
41
+ }),
42
+ runRetry = _useRequest2.run,
43
+ loadingRetry = _useRequest2.loading;
44
+ return /*#__PURE__*/_jsxs(Space, {
45
+ children: [/*#__PURE__*/_jsx(Popconfirm, {
46
+ title: "\u5E9F\u9664",
47
+ description: "\u5E9F\u9664\u540E\uFF0C\u4E0D\u53EF\u6062\u590D\uFF01",
48
+ onConfirm: function onConfirm() {
49
+ return runRepeal();
50
+ },
51
+ children: ['wait', 'fail'].includes(itemData.status) && /*#__PURE__*/_jsx(Button, {
52
+ type: "primary",
53
+ size: "small",
54
+ ghost: true,
55
+ danger: true,
56
+ icon: /*#__PURE__*/_jsx(StopOutlined, {}),
57
+ loading: loadingRepeal,
58
+ children: "\u5E9F\u9664"
59
+ })
60
+ }), ['fail', 'progress'].includes(itemData.status) && /*#__PURE__*/_jsx(Button, {
61
+ type: "primary",
62
+ size: "small",
63
+ ghost: true,
64
+ icon: /*#__PURE__*/_jsx(RedoOutlined, {}),
65
+ loading: loadingRetry,
66
+ onClick: function onClick() {
67
+ return runRetry();
68
+ },
69
+ children: "\u91CD\u8BD5"
70
+ })]
71
+ });
72
+ };
73
+ export default VideoPublishTaskPlanOperate;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Tag } from 'antd';
3
- import { CheckCircleOutlined, ClockCircleOutlined, LoadingOutlined, WarningOutlined } from "@ant-design/icons";
3
+ import { CheckCircleOutlined, ClockCircleOutlined, LoadingOutlined, StopOutlined, WarningOutlined } from "@ant-design/icons";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { jsxs as _jsxs } from "react/jsx-runtime";
6
6
  // ENUM('wait', 'progress', 'finish', 'fail')
@@ -25,6 +25,11 @@ export var VideoPublishTaskPlanStatusList = [{
25
25
  icon: /*#__PURE__*/_jsx(WarningOutlined, {}),
26
26
  title: '失败',
27
27
  color: 'red'
28
+ }, {
29
+ status: 'repeal',
30
+ icon: /*#__PURE__*/_jsx(StopOutlined, {}),
31
+ title: '已废除',
32
+ color: ''
28
33
  }];
29
34
  var VideoPublishTaskPlanStatusDict = function () {
30
35
  var dict = {};
@@ -1,5 +1,6 @@
1
+ import AccountManageSettingConfig from "../lib/accountManageSettingConfig";
1
2
  var isInstalledChrome = function isInstalledChrome() {
2
- var _window$getBridge, _window;
3
- return !!((_window$getBridge = (_window = window).getBridge) !== null && _window$getBridge !== void 0 && _window$getBridge.call(_window).getChromiumPath());
3
+ var settingConfig = AccountManageSettingConfig();
4
+ return !!settingConfig.chromePath;
4
5
  };
5
6
  export default isInstalledChrome;
package/dist/global.less CHANGED
@@ -10,6 +10,9 @@
10
10
  }
11
11
 
12
12
  a{
13
+ &.high{
14
+ color: #C00;
15
+ }
13
16
  &.disabled{
14
17
  color: #CCC;
15
18
  cursor: not-allowed;
@@ -161,7 +161,7 @@ declare const Tool: {
161
161
  OsPathSeparator(): string;
162
162
  getTitleByPath(path: string): string;
163
163
  h5Pay(query: Pay.H5PayQuery): void;
164
- notification(type: "success" | "info" | "warning" | "error", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
164
+ notification(type: "error" | "success" | "info" | "warning", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
165
165
  notificationSuccess(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
166
166
  notificationError(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
167
167
  notificationWarning(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
@@ -3,3 +3,9 @@ export declare function list(body: {
3
3
  current: number;
4
4
  pageSize: number;
5
5
  }, options?: Global.RequestOptions): Promise<VideoPublishTaskPlan.ListResult>;
6
+ export declare function repeal(body: {
7
+ planId: number;
8
+ }, options?: Global.RequestOptions): Promise<boolean>;
9
+ export declare function retry(body: {
10
+ planId: number;
11
+ }, options?: Global.RequestOptions): Promise<boolean>;
@@ -25,4 +25,50 @@ function _list() {
25
25
  }, _callee);
26
26
  }));
27
27
  return _list.apply(this, arguments);
28
+ }
29
+ export function repeal(_x3, _x4) {
30
+ return _repeal.apply(this, arguments);
31
+ }
32
+ function _repeal() {
33
+ _repeal = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body, options) {
34
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
35
+ while (1) switch (_context2.prev = _context2.next) {
36
+ case 0:
37
+ return _context2.abrupt("return", request(PublishDomainApi("user/publishTaskPlan/repeal", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
38
+ method: 'POST',
39
+ headers: {
40
+ 'Content-Type': 'application/json'
41
+ },
42
+ data: _objectSpread({}, body)
43
+ }, options || {})));
44
+ case 1:
45
+ case "end":
46
+ return _context2.stop();
47
+ }
48
+ }, _callee2);
49
+ }));
50
+ return _repeal.apply(this, arguments);
51
+ }
52
+ export function retry(_x5, _x6) {
53
+ return _retry.apply(this, arguments);
54
+ }
55
+ function _retry() {
56
+ _retry = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(body, options) {
57
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
58
+ while (1) switch (_context3.prev = _context3.next) {
59
+ case 0:
60
+ return _context3.abrupt("return", request(PublishDomainApi("user/publishTaskPlan/retry", options === null || options === void 0 ? void 0 : options.env), _objectSpread({
61
+ method: 'POST',
62
+ headers: {
63
+ 'Content-Type': 'application/json'
64
+ },
65
+ data: _objectSpread({}, body)
66
+ }, options || {})));
67
+ case 1:
68
+ case "end":
69
+ return _context3.stop();
70
+ }
71
+ }, _callee3);
72
+ }));
73
+ return _retry.apply(this, arguments);
28
74
  }
@@ -1,5 +1,5 @@
1
1
  declare namespace VideoPublishTaskPlan {
2
- type PlanStatus = 'wait' | 'progress' | 'finish' | 'fail';
2
+ type PlanStatus = 'wait' | 'progress' | 'finish' | 'fail' | 'repeal';
3
3
  interface ListResult {
4
4
  list: List[];
5
5
  pagination: Global.Pagination;
@@ -16,6 +16,7 @@ declare namespace VideoPublishTaskPlan {
16
16
  kindTagValue: string;
17
17
  videoUrl: string;
18
18
  publishTime: number;
19
+ taskMessage: string;
19
20
  accountInfo: VideoPublishVideoAccount.BaseInfo;
20
21
  }
21
22
  interface ListQuery {
@@ -8,6 +8,7 @@ declare namespace VideoPublishVideoAccountProxy {
8
8
  enabled: boolean;
9
9
  username: string;
10
10
  password: string;
11
+ expired: number;
11
12
  created: number;
12
13
  updated: number;
13
14
  }
@@ -27,6 +28,7 @@ declare namespace VideoPublishVideoAccountProxy {
27
28
  port: number;
28
29
  enabled: boolean;
29
30
  username: string;
31
+ expired: number;
30
32
  password: string;
31
33
  }
32
34
  interface CreateProxyQuery {
@@ -1,6 +1,7 @@
1
1
  declare namespace VideoPublishVideoAccount {
2
2
  interface CreateQuery {
3
3
  detail: CreateQueryDetail;
4
+ proxyId: number;
4
5
  }
5
6
  interface CreateQueryDetail {
6
7
  avatar: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.1.22",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "peerDependencies": {
43
- "antd": "^5.x",
43
+ "antd": "^5.20",
44
44
  "react": ">=18.x",
45
45
  "react-dom": ">=18.x"
46
46
  },