@nger/fk-upload 1.0.129 → 1.0.132

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.
@@ -12,5 +12,6 @@ export declare class FkDownloadTaskEntity {
12
12
  fileMd5: string;
13
13
  topicId: number;
14
14
  createDate: Date;
15
+ updateDate: Date;
15
16
  isBigFile: boolean;
16
17
  }
@@ -17,6 +17,7 @@ let FkDownloadTaskEntity = class FkDownloadTaskEntity {
17
17
  fileMd5;
18
18
  topicId;
19
19
  createDate;
20
+ updateDate;
20
21
  isBigFile;
21
22
  };
22
23
  tslib_1.__decorate([
@@ -96,6 +97,12 @@ tslib_1.__decorate([
96
97
  }),
97
98
  tslib_1.__metadata("design:type", Date)
98
99
  ], FkDownloadTaskEntity.prototype, "createDate", void 0);
100
+ tslib_1.__decorate([
101
+ (0, typeorm_1.UpdateDateColumn)({
102
+ name: 'update_date'
103
+ }),
104
+ tslib_1.__metadata("design:type", Date)
105
+ ], FkDownloadTaskEntity.prototype, "updateDate", void 0);
99
106
  tslib_1.__decorate([
100
107
  (0, typeorm_1.Column)({
101
108
  default: false
@@ -31,7 +31,8 @@ let SettingController = class SettingController {
31
31
  async setting() {
32
32
  const task = await this.db.manager.findOne(rabbitmq_1.TaskEntity, { where: { topic: actions_1.SCHEDULE_ACTION } });
33
33
  const setting = task ? task.data : {};
34
- const url = `/@nger/fk-upload/setting?id=${task.taskId}`;
34
+ const taskId = task ? task.taskId : 0;
35
+ const url = `/@nger/fk-upload/setting?id=${taskId}`;
35
36
  return react_1.default.createElement(component_1.Nav, { active: 4 },
36
37
  react_1.default.createElement("div", { className: "card" },
37
38
  react_1.default.createElement("div", { className: "card-body" },
@@ -45,7 +45,7 @@ class EffectTask extends rabbitmq_1.Task {
45
45
  await (0, fs_extra_1.unlink)(task.path);
46
46
  }
47
47
  catch (e) { }
48
- await w7.manager.update(w7_1.W7ChatTopicEntity, task.topicId, { foreverUrl: task.uploadUrl });
48
+ await w7.manager.update(w7_1.W7ChatTopicEntity, task.topicId, { topicStyle: 7, foreverUrl: task.uploadUrl });
49
49
  await complete();
50
50
  }
51
51
  else {
package/docs.md CHANGED
@@ -9,6 +9,12 @@ Yang1989.
9
9
  http://49.235.92.214:8889/a31539ae/
10
10
  ```
11
11
 
12
+ ```
13
+ https://wx.jidujiaowang.com/web/index.php?c=user&a=login&
14
+ 撒母耳网络科技
15
+ goodnews9
16
+ ```
17
+
12
18
  ### manage url
13
19
 
14
20
  ```
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.129",
3
+ "version": "1.0.132",
4
4
  "description": "",
5
5
  "main": "dist/core.js",
6
6
  "types": "dist/core.d.ts",
7
+ "nger": {
8
+ "cover": [],
9
+ "menu": []
10
+ },
7
11
  "publishConfig": {
8
12
  "access": "public"
9
13
  },