@cpzxrobot/sdk 1.1.35 → 1.1.36
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.
- package/dist/project_gateway.js +2 -2
- package/package.json +1 -1
- package/project_gateway.ts +2 -2
package/dist/project_gateway.js
CHANGED
|
@@ -20,7 +20,7 @@ class ProjectGateway extends Object {
|
|
|
20
20
|
return {
|
|
21
21
|
add: (projectId, content) => {
|
|
22
22
|
return this.context.ready.then((axios) => {
|
|
23
|
-
return axios.post(`/api/v2/coremde-sale/feedback/add`, {
|
|
23
|
+
return axios.post(`/api/v2/coremde-sale/project/feedback/add`, {
|
|
24
24
|
projectId,
|
|
25
25
|
content
|
|
26
26
|
});
|
|
@@ -34,7 +34,7 @@ class ProjectGateway extends Object {
|
|
|
34
34
|
},
|
|
35
35
|
reply: (args) => {
|
|
36
36
|
return this.context.ready.then((axios) => {
|
|
37
|
-
return axios.post(`/api/v2/coremde-sale/feedback/reply`, args);
|
|
37
|
+
return axios.post(`/api/v2/coremde-sale/project/feedback/reply`, args);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
};
|
package/package.json
CHANGED
package/project_gateway.ts
CHANGED
|
@@ -32,7 +32,7 @@ export class ProjectGateway extends Object {
|
|
|
32
32
|
return {
|
|
33
33
|
add: (projectId: number, content: String) => {
|
|
34
34
|
return this.context.ready.then((axios) => {
|
|
35
|
-
return axios.post(`/api/v2/coremde-sale/feedback/add`, {
|
|
35
|
+
return axios.post(`/api/v2/coremde-sale/project/feedback/add`, {
|
|
36
36
|
projectId,
|
|
37
37
|
content
|
|
38
38
|
});
|
|
@@ -54,7 +54,7 @@ export class ProjectGateway extends Object {
|
|
|
54
54
|
reply: string;
|
|
55
55
|
}) => {
|
|
56
56
|
return this.context.ready.then((axios) => {
|
|
57
|
-
return axios.post(`/api/v2/coremde-sale/feedback/reply`, args);
|
|
57
|
+
return axios.post(`/api/v2/coremde-sale/project/feedback/reply`, args);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
};
|