@cpzxrobot/sdk 1.2.79 → 1.2.81
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/user_gateway.js +2 -2
- package/package.json +1 -1
- package/user_gateway.ts +2 -2
package/dist/user_gateway.js
CHANGED
|
@@ -302,9 +302,9 @@ class UserGateway extends Object {
|
|
|
302
302
|
return axios.post('/api/v2/coremde-sale/task/list', params);
|
|
303
303
|
},
|
|
304
304
|
// 任务指派功能
|
|
305
|
-
|
|
305
|
+
assign: (taskId, deptId, handleUserId = 0) => {
|
|
306
306
|
return this.context.ready.then((axios) => {
|
|
307
|
-
return axios.post('/task/assign', {
|
|
307
|
+
return axios.post('/api/v2/coremde-sale/task/assign', {
|
|
308
308
|
taskId,
|
|
309
309
|
deptId,
|
|
310
310
|
handleUserId
|
package/package.json
CHANGED
package/user_gateway.ts
CHANGED
|
@@ -344,9 +344,9 @@ export class UserGateway extends Object {
|
|
|
344
344
|
return axios.post('/api/v2/coremde-sale/task/list', params);
|
|
345
345
|
},
|
|
346
346
|
// 任务指派功能
|
|
347
|
-
|
|
347
|
+
assign: (taskId: number, deptId: number, handleUserId: number = 0)=> {
|
|
348
348
|
return this.context.ready.then((axios) => {
|
|
349
|
-
return axios.post('/task/assign', {
|
|
349
|
+
return axios.post('/api/v2/coremde-sale/task/assign', {
|
|
350
350
|
taskId,
|
|
351
351
|
deptId,
|
|
352
352
|
handleUserId
|