feat:完善项目
This commit is contained in:
@ -270,6 +270,28 @@ func (*Work) Examine(c *gin.Context) {
|
||||
APIResponse(err)
|
||||
}
|
||||
|
||||
/**
|
||||
* @api {post} /api/v1/work/delete 工单流程信息删除
|
||||
* @apiVersion 1.0.0
|
||||
* @apiName WorkDelete
|
||||
* @apiGroup Work
|
||||
*
|
||||
* @apiHeader {string} x-token token
|
||||
*
|
||||
* @apiParam {String} id Id
|
||||
*
|
||||
* @apiSuccess (200) {Object} data 数据信息
|
||||
* @apiSuccess (200) {Number} code 成功响应状态码!
|
||||
* @apiSuccess (200) {String} msg 成功提示
|
||||
*
|
||||
* @apiSuccessExample {json} Success response:
|
||||
* HTTPS 200 OK
|
||||
* {
|
||||
* "code": 200
|
||||
* "msg": "ok"
|
||||
* "data": null
|
||||
* }
|
||||
*/
|
||||
func (*Work) Delete(c *gin.Context) {
|
||||
form := new(IDStringForm)
|
||||
|
||||
@ -337,9 +359,9 @@ func (*Work) Schedule(c *gin.Context) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @api {get} /api/v1/work/schedule/edit 工单流程信息修改
|
||||
* @api {post} /api/v1/work/schedule/edit 工单流程信息修改
|
||||
* @apiVersion 1.0.0
|
||||
* @apiName WorkSchedulEdit
|
||||
* @apiName WorkScheduleEdit
|
||||
* @apiGroup Work
|
||||
*
|
||||
* @apiHeader {string} x-token token
|
||||
@ -378,9 +400,9 @@ func (*Work) ScheduleEdit(c *gin.Context) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @api {get} /api/v1/work/schedule/delete 工单流程信息删除
|
||||
* @api {post} /api/v1/work/schedule/delete 工单流程信息删除
|
||||
* @apiVersion 1.0.0
|
||||
* @apiName WorkSchedulDelete
|
||||
* @apiName WorkScheduleDelete
|
||||
* @apiGroup Work
|
||||
*
|
||||
* @apiHeader {string} x-token token
|
||||
|
Reference in New Issue
Block a user