@cpzxrobot/sdk 1.1.34 → 1.1.35

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.
@@ -31,6 +31,11 @@ class ProjectGateway extends Object {
31
31
  return this.context.ready.then((axios) => {
32
32
  return axios.post(`/api/v2/coremde-sale/project/feedback/list`, args);
33
33
  });
34
+ },
35
+ reply: (args) => {
36
+ return this.context.ready.then((axios) => {
37
+ return axios.post(`/api/v2/coremde-sale/feedback/reply`, args);
38
+ });
34
39
  }
35
40
  };
36
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.1.34",
3
+ "version": "1.1.35",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -47,6 +47,15 @@ export class ProjectGateway extends Object {
47
47
  return this.context.ready.then((axios) => {
48
48
  return axios.post(`/api/v2/coremde-sale/project/feedback/list`, args);
49
49
  });
50
+ },
51
+ reply: (args: {
52
+ id: number;
53
+ status: number;
54
+ reply: string;
55
+ }) => {
56
+ return this.context.ready.then((axios) => {
57
+ return axios.post(`/api/v2/coremde-sale/feedback/reply`, args);
58
+ });
50
59
  }
51
60
  };
52
61
  }
package/readme.md CHANGED
@@ -160,6 +160,7 @@ baseURL: "/"
160
160
  | cpzxrobot().project.list | 获得项目列表,传入factory_id和必要的分页参数 |
161
161
  | cpzxrobot().project.feedback.list | 获得项目反馈列表,传入project_id参数 |
162
162
  | cpzxrobot().project.feedback.add | 添加项目反馈信息,传入project_id和反馈内容 |
163
+ | cpzxrobot().project.feedback.reply | 添加项目反馈回复,传入feedback_id和回复内容 |
163
164
  | cpzxrobot().project.get | 获得项目信息,传入id参数 |
164
165
  | cpzxrobot().project.stat.china | 获得项目在全国的统计信息 |
165
166
  | cpzxrobot().project.inquiry.list | 获得项目询盘列表,传入project_id参数 |