@cpzxrobot/sdk 1.2.80 → 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.
@@ -302,7 +302,7 @@ class UserGateway extends Object {
302
302
  return axios.post('/api/v2/coremde-sale/task/list', params);
303
303
  },
304
304
  // 任务指派功能
305
- assignTask: (taskId, deptId, handleUserId = 0) => {
305
+ assign: (taskId, deptId, handleUserId = 0) => {
306
306
  return this.context.ready.then((axios) => {
307
307
  return axios.post('/api/v2/coremde-sale/task/assign', {
308
308
  taskId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.2.80",
3
+ "version": "1.2.81",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/user_gateway.ts CHANGED
@@ -344,7 +344,7 @@ export class UserGateway extends Object {
344
344
  return axios.post('/api/v2/coremde-sale/task/list', params);
345
345
  },
346
346
  // 任务指派功能
347
- assignTask: (taskId: number, deptId: number, handleUserId: number = 0)=> {
347
+ assign: (taskId: number, deptId: number, handleUserId: number = 0)=> {
348
348
  return this.context.ready.then((axios) => {
349
349
  return axios.post('/api/v2/coremde-sale/task/assign', {
350
350
  taskId,