From f04def67f695e69591ccdd73bb339c6f402b477c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 05 八月 2023 13:36:57 +0800 Subject: [PATCH] update --- docs/swagger.yaml | 129 +++++++++++++++++++++++------------------- 1 files changed, 71 insertions(+), 58 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index a09d957..3b5e678 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1095,13 +1095,13 @@ address: description: 涓婇棬鍦板潃 type: string - appointment_time: + appointmentTime: description: 棰勭害涓婇棬鏃堕棿 type: string - car_fare: + carFare: description: 浜ら�氳垂 type: number - charge_amount: + chargeAmount: description: 鏀惰垂閲戦 type: number client: @@ -1111,7 +1111,7 @@ type: integer contact: $ref: '#/definitions/model.Contact' - contact_id: + contactId: description: 鑱旂郴浜篿d type: integer contract: @@ -1119,35 +1119,40 @@ contractId: description: 鍚堝悓id type: integer - expect_time: + expectTime: description: 甯屾湜澶勭悊鏃堕棿 type: string faq: $ref: '#/definitions/model.Faq' + faqId: + description: 甯歌闂id + type: integer + faultType: + $ref: '#/definitions/model.FaultType' + faultTypeId: + description: 鏁呴殰绫诲埆id + type: integer id: type: integer - order: - $ref: '#/definitions/model.OrderManage' orderId: description: 閿�鍞鍗昳d type: integer - priority_level_id: - description: 浼樺厛绾у埆 - type: integer + orderManage: + $ref: '#/definitions/model.OrderManage' priorityLevel: $ref: '#/definitions/model.PriorityLevel' - problem_desc: + priorityLevelId: + description: 浼樺厛绾у埆id + type: integer + problemDesc: description: 闂鎻忚堪 type: string - problem_id: - description: 甯歌闂id - type: integer product: $ref: '#/definitions/model.Product' productId: description: 浜у搧id type: integer - real_time: + realTime: description: 瀹為檯澶勭悊鏃堕棿 type: string remark: @@ -1167,14 +1172,14 @@ serviceType: $ref: '#/definitions/model.ServiceType' serviceTypeId: - description: 鏈嶅姟鏂瑰紡 + description: 鏈嶅姟鏂瑰紡id type: integer severity: $ref: '#/definitions/model.Severity' solution: description: 瑙e喅鏂规硶 type: string - solution_remark: + solutionRemark: description: 鍐呴儴澶囨敞 type: string status: @@ -1183,7 +1188,9 @@ subject: description: 涓婚 type: string - time_spent_id: + timeSpent: + $ref: '#/definitions/model.TimeSpent' + timeSpentId: description: 鑺辫垂鏃堕棿 type: integer type: object @@ -2001,43 +2008,46 @@ address: description: 涓婇棬鍦板潃 type: string - appointment_time: + appointmentTime: description: 棰勭害涓婇棬鏃堕棿 type: string - car_fare: + carFare: description: 浜ら�氳垂 type: number - charge_amount: + chargeAmount: description: 鏀惰垂閲戦 type: number clientId: description: 瀹㈡埛id type: integer - contact_id: + contactId: description: 鑱旂郴浜篿d type: integer contractId: description: 鍚堝悓id type: integer - expect_time: + expectTime: description: 甯屾湜澶勭悊鏃堕棿 type: string + faqId: + description: 甯歌闂id + type: integer + faultTypeId: + description: 鏁呴殰绫诲埆id + type: integer orderId: description: 閿�鍞鍗昳d type: integer - priority_level_id: - description: 浼樺厛绾у埆 + priorityLevelId: + description: 浼樺厛绾у埆id type: integer - problem_desc: + problemDesc: description: 闂鎻忚堪 type: string - problem_id: - description: 甯歌闂id - type: integer productId: description: 浜у搧id type: integer - real_time: + realTime: description: 瀹為檯澶勭悊鏃堕棿 type: string remark: @@ -2053,15 +2063,15 @@ description: 鏈嶅姟鍗曠紪鍙� type: string serviceTypeId: - description: 鏈嶅姟鏂瑰紡 + description: 鏈嶅姟鏂瑰紡id type: integer severity: - description: 涓ラ噸绋嬪害 + description: 涓ラ噸绋嬪害id type: integer solution: description: 瑙e喅鏂规硶 type: string - solution_remark: + solutionRemark: description: 鍐呴儴澶囨敞 type: string status: @@ -2070,7 +2080,7 @@ subject: description: 涓婚 type: string - time_spent_id: + timeSpentId: description: 鑺辫垂鏃堕棿 type: integer type: object @@ -3796,45 +3806,48 @@ address: description: 涓婇棬鍦板潃 type: string - appointment_time: + appointmentTime: description: 棰勭害涓婇棬鏃堕棿 type: string - car_fare: + carFare: description: 浜ら�氳垂 type: number - charge_amount: + chargeAmount: description: 鏀惰垂閲戦 type: number clientId: description: 瀹㈡埛id type: integer - contact_id: + contactId: description: 鑱旂郴浜篿d type: integer contractId: description: 鍚堝悓id type: integer - expect_time: + expectTime: description: 甯屾湜澶勭悊鏃堕棿 type: string + faqId: + description: 甯歌闂id + type: integer + faultTypeId: + description: 鏁呴殰绫诲埆id + type: integer id: type: integer orderId: description: 閿�鍞鍗昳d type: integer - priority_level_id: - description: 浼樺厛绾у埆 + priorityLevelId: + description: 浼樺厛绾у埆id type: integer - problem_desc: + problemDesc: description: 闂鎻忚堪 type: string - problem_id: - description: 甯歌闂id - type: integer productId: description: 浜у搧id type: integer - real_time: + realTime: description: 瀹為檯澶勭悊鏃堕棿 type: string remark: @@ -3850,15 +3863,15 @@ description: 鏈嶅姟鍗曠紪鍙� type: string serviceTypeId: - description: 鏈嶅姟鏂瑰紡 + description: 鏈嶅姟鏂瑰紡id type: integer severity: - description: 涓ラ噸绋嬪害 + description: 涓ラ噸绋嬪害id type: integer solution: description: 瑙e喅鏂规硶 type: string - solution_remark: + solutionRemark: description: 鍐呴儴澶囨敞 type: string status: @@ -3867,7 +3880,7 @@ subject: description: 涓婚 type: string - time_spent_id: + timeSpentId: description: 鑺辫垂鏃堕棿 type: integer type: object @@ -8738,9 +8751,9 @@ description: OK schema: $ref: '#/definitions/contextx.Response' - summary: 娣诲姞鏈嶅姟绫诲瀷 + summary: 娣诲姞鏈嶅姟鏂瑰紡 tags: - - 鏈嶅姟绫诲瀷绠$悊 + - 鏈嶅姟鏂瑰紡绠$悊 /api/serviceType/delete/{id}: delete: parameters: @@ -8756,9 +8769,9 @@ description: OK schema: $ref: '#/definitions/contextx.Response' - summary: 鍒犻櫎鏈嶅姟绫诲瀷 + summary: 鍒犻櫎鏈嶅姟鏂瑰紡 tags: - - 鏈嶅姟绫诲瀷绠$悊 + - 鏈嶅姟鏂瑰紡绠$悊 /api/serviceType/list: get: produces: @@ -8775,9 +8788,9 @@ $ref: '#/definitions/model.ServiceType' type: array type: object - summary: 鑾峰彇鏈嶅姟绫诲瀷鍒楄〃 + summary: 鑾峰彇鏈嶅姟鏂瑰紡鍒楄〃 tags: - - 鏈嶅姟绫诲瀷绠$悊 + - 鏈嶅姟鏂瑰紡绠$悊 /api/serviceType/update: put: parameters: @@ -8794,9 +8807,9 @@ description: OK schema: $ref: '#/definitions/contextx.Response' - summary: 鏇存柊鏈嶅姟绫诲瀷 + summary: 鏇存柊鏈嶅姟鏂瑰紡 tags: - - 鏈嶅姟绫诲瀷绠$悊 + - 鏈嶅姟鏂瑰紡绠$悊 /api/severity/add: post: parameters: -- Gitblit v1.8.0