From 4e8d946913165901f25bb79add011d3c2df19792 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 11 八月 2023 14:30:29 +0800
Subject: [PATCH] fix

---
 docs/swagger.yaml | 1566 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 1,365 insertions(+), 201 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 9b8cfae..bd69224 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -11,6 +11,29 @@
     type: string
     x-enum-varnames:
     - BankAccountQueryClassExpireLessThen60Days
+  constvar.CollectionStatus:
+    enum:
+    - 1
+    - 2
+    type: integer
+    x-enum-comments:
+      CollectionStatusCollected: 宸叉敹娆�
+      CollectionStatusUnCollected: 寰呮敹娆�
+    x-enum-varnames:
+    - CollectionStatusUnCollected
+    - CollectionStatusCollected
+  constvar.CourierCompanyKeywordType:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - CourierCompanyKeywordCustomerName
+  constvar.CourierCompanyQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - CourierCompanyQueryClassExpireLessThen60Days
   constvar.FaqKeywordType:
     enum:
     - ""
@@ -23,18 +46,50 @@
     type: string
     x-enum-varnames:
     - FaqQueryClassExpireLessThen60Days
-  constvar.FileKeywordType:
+  constvar.InvoiceKeywordType:
     enum:
     - ""
     type: string
     x-enum-varnames:
-    - FileKeywordCustomerName
-  constvar.FileQueryClass:
+    - InvoiceKeywordCustomerName
+  constvar.InvoiceQueryClass:
     enum:
     - ""
     type: string
     x-enum-varnames:
-    - FileQueryClassExpireLessThen60Days
+    - InvoiceQueryClassExpireLessThen60Days
+  constvar.InvoiceSourceType:
+    enum:
+    - 1
+    - 2
+    type: integer
+    x-enum-varnames:
+    - InvoiceSourceTypeSaleDetail
+    - InvoiceSourceTypeServiceContract
+  constvar.InvoiceStatusKeywordType:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - InvoiceStatusKeywordCustomerName
+  constvar.InvoiceStatusQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - InvoiceStatusQueryClassExpireLessThen60Days
+  constvar.InvoiceTypeKeywordType:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - InvoiceTypeKeywordCustomerName
+  constvar.InvoiceTypeQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - InvoiceTypeQueryClassExpireLessThen60Days
   constvar.PaymentTypeKeywordType:
     enum:
     - ""
@@ -59,14 +114,27 @@
     type: string
     x-enum-varnames:
     - ReceiptQueryClassExpireLessThen60Days
+  constvar.SalesDetailsKeywordType:
+    enum:
+    - 瀹㈡埛鍚嶇О
+    - 璁㈠崟缂栧彿
+    - 绛剧害鏃ユ湡
+    - 閿�鍞礋璐d汉
+    - 浜у搧鍚嶇О
+    type: string
+    x-enum-varnames:
+    - SalesDetailsKeywordTypeCustomerName
+    - SalesDetailsKeywordTypeOrderNumber
+    - SalesDetailsKeywordTypeSignTime
+    - SalesDetailsKeywordTypePrincipal
+    - SalesDetailsKeywordTypeProductName
   constvar.SalesStatus:
     enum:
-    - -1
+    - 0
     - 1
     - 2
     - 3
-    - 4
-    - 5
+    - -1
     type: integer
     x-enum-comments:
       SalesStatusFail: 澶辫触
@@ -74,14 +142,12 @@
       SalesStatusLevelUptoClient: 鍗囩骇涓哄鎴�
       SalesStatusLevelUptoClientAndSalesChance: 鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�
       SalesStatusNew: 鏂板缓
-      SalesStatusSuccess: 鎴愬姛
     x-enum-varnames:
-    - SalesStatusFail
     - SalesStatusNew
     - SalesStatusIng
-    - SalesStatusSuccess
     - SalesStatusLevelUptoClient
     - SalesStatusLevelUptoClientAndSalesChance
+    - SalesStatusFail
   constvar.ServiceContractKeywordType:
     enum:
     - 鏈嶅姟鍚堝悓缂栧彿
@@ -172,6 +238,44 @@
     - ServiceFollowupKeywordCustomerServiceNo
     - ServiceFollowupKeywordVisitor
     - ServiceFollowupKeywordSatisfactionDegree
+  constvar.ServiceOrderKeywordType:
+    enum:
+    - 鏈嶅姟鍗曠紪鍙�
+    - 涓婚
+    - 瀹㈡埛鍚嶇О
+    - 瀹為檯澶勭悊鏃堕棿
+    - 鏈嶅姟浜哄憳
+    - 鏈嶅姟鏂瑰紡
+    - 浜у搧绫诲埆
+    - 鏁呴殰绫诲埆
+    type: string
+    x-enum-varnames:
+    - ServiceOrderKeywordOrderNumber
+    - ServiceOrderKeywordSubject
+    - ServiceOrderKeywordClientName
+    - ServiceOrderKeywordRealProcessTime
+    - ServiceOrderKeywordServiceMan
+    - ServiceOrderKeywordServiceType
+    - ServiceOrderKeywordProductType
+    - ServiceOrderKeywordFaultType
+  constvar.ServiceOrderQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - ServiceOrderQueryClassExpireLessThen60Days
+  constvar.ServiceOrderStatusKeywordType:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - ServiceOrderStatusKeywordCustomerName
+  constvar.ServiceOrderStatusQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - ServiceOrderStatusQueryClassExpireLessThen60Days
   constvar.UserType:
     enum:
     - 1
@@ -186,6 +290,18 @@
     - UserTypeSuper
     - UserTypePrimary
     - UserTypeSub
+  constvar.WechatOrderStatusKeywordType:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - WechatOrderStatusKeywordCustomerName
+  constvar.WechatOrderStatusQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - WechatOrderStatusQueryClassExpireLessThen60Days
   contextx.Response:
     properties:
       code:
@@ -289,6 +405,8 @@
         type: integer
       latest_service_time:
         type: string
+      member:
+        $ref: '#/definitions/model.User'
       member_id:
         type: integer
       name:
@@ -468,6 +586,13 @@
           $ref: '#/definitions/model.Province'
         type: array
     type: object
+  model.CourierCompany:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
   model.Currency:
     properties:
       id:
@@ -527,48 +652,6 @@
       name:
         type: string
     type: object
-  model.File:
-    properties:
-      bucket:
-        description: 瀵硅薄瀛樺偍bucket
-        type: string
-      content:
-        description: 鏂囦欢鍐呭
-        type: string
-      createTime:
-        description: 鍒涘缓鏃堕棿
-        type: string
-      downloadCount:
-        description: 涓嬫娆℃暟
-        type: integer
-      filePath:
-        description: 鏂囦欢璺緞
-        type: string
-      fileType:
-        description: 鏂囦欢绫诲瀷
-        type: string
-      id:
-        type: integer
-      key:
-        description: 瀵硅薄瀛樺偍key
-        type: string
-      name:
-        type: string
-      previewCount:
-        description: 棰勮娆℃暟
-        type: integer
-      size:
-        description: 鏂囦欢澶у皬
-        type: integer
-      sourceId:
-        description: 鏉ユ簮id
-        type: integer
-      sourceType:
-        description: 闄勪欢鏉ユ簮
-        type: string
-      updateTime:
-        type: string
-    type: object
   model.FollowRecord:
     properties:
       client:
@@ -589,6 +672,8 @@
         type: string
       id:
         type: integer
+      member:
+        $ref: '#/definitions/model.User'
       member_id:
         type: integer
       next_follow_time:
@@ -607,6 +692,74 @@
         type: string
     type: object
   model.Industry:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
+  model.Invoice:
+    properties:
+      client:
+        $ref: '#/definitions/model.Client'
+      clientId:
+        description: 瀹㈡埛id
+        type: integer
+      courierCompany:
+        $ref: '#/definitions/model.CourierCompany'
+      courierCompanyId:
+        description: 鐗╂祦鍏徃
+        type: integer
+      courierNumber:
+        description: 鐗╂祦鍗曞彿
+        type: string
+      id:
+        type: integer
+      invoiceDate:
+        description: 寮�绁ㄦ棩鏈�
+        type: string
+      invoiceNumber:
+        description: 鍙戠エ鍙风爜
+        type: string
+      invoiceStatus:
+        $ref: '#/definitions/model.InvoiceStatus'
+      invoiceStatusId:
+        description: 鍙戠エ鐘舵�乮d
+        type: integer
+      invoiceType:
+        $ref: '#/definitions/model.InvoiceType'
+      invoiceTypeId:
+        description: 鍙戠エ绫诲瀷id
+        type: integer
+      principalId:
+        description: 閿�鍞礋璐d汉id
+        type: integer
+      products:
+        items:
+          $ref: '#/definitions/model.Product'
+        type: array
+      sourceId:
+        description: 婧愬崟id
+        type: integer
+      sourceType:
+        allOf:
+        - $ref: '#/definitions/constvar.InvoiceSourceType'
+        description: 婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)
+      subject:
+        description: 涓婚
+        type: string
+      taxpayerIdNumber:
+        description: 绾崇◣璇嗗埆鍙�
+        type: string
+    type: object
+  model.InvoiceStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
+  model.InvoiceType:
     properties:
       id:
         type: integer
@@ -747,7 +900,7 @@
   model.Product:
     properties:
       amount:
-        type: integer
+        type: number
       desc:
         type: string
       id:
@@ -810,6 +963,9 @@
     type: object
   model.Receipt:
     properties:
+      amount:
+        description: 鏀舵閲戦
+        type: string
       bankAccountId:
         description: 璐︽埛id
         type: integer
@@ -990,6 +1146,18 @@
         type: string
       addressee:
         type: string
+      amountInvoiced:
+        description: 宸插紑绁ㄩ噾棰�
+        type: number
+      amountReceivable:
+        description: 搴旀敹閲戦
+        type: number
+      amountReceived:
+        description: 宸叉敹閲戦
+        type: number
+      amountUnInvoiced:
+        description: 鏈紑绁ㄩ噾棰�
+        type: number
       client:
         $ref: '#/definitions/model.Client'
       clientId:
@@ -1018,6 +1186,8 @@
         type: array
       remark:
         type: string
+      saleChance:
+        $ref: '#/definitions/model.SaleChance'
       saleChanceId:
         type: integer
       saleType:
@@ -1025,6 +1195,8 @@
       signTime:
         type: string
       wechatOrderStatus:
+        $ref: '#/definitions/model.WechatOrderStatus'
+      wechatOrderStatusId:
         type: integer
     type: object
   model.SalesLeads:
@@ -1061,6 +1233,8 @@
         $ref: '#/definitions/model.Province'
       province_id:
         type: integer
+      reason:
+        type: string
       region:
         $ref: '#/definitions/model.Region'
       region_id:
@@ -1167,23 +1341,43 @@
       remark:
         description: 澶囨敞
         type: string
-      serviceContractId:
-        description: 鏈嶅姟鍚堝悓id
+      sourceId:
+        description: 婧愬崟id
+        type: integer
+      sourceType:
+        description: 婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級
         type: integer
       status:
+        allOf:
+        - $ref: '#/definitions/constvar.CollectionStatus'
         description: 鐘舵�侊紙1鏈敹2宸叉敹锛�
-        type: integer
       term:
         description: 鏈熸
         type: integer
     type: object
   model.ServiceContract:
     properties:
+      SaleChance:
+        $ref: '#/definitions/model.SaleChance'
+      amountInvoiced:
+        description: 宸插紑绁ㄩ噾棰�
+        type: number
+      amountReceivable:
+        description: 搴旀敹閲戦
+        type: number
+      amountReceived:
+        description: 宸叉敹閲戦
+        type: number
+      amountUnInvoiced:
+        description: 鏈紑绁ㄩ噾棰�
+        type: number
+      client:
+        $ref: '#/definitions/model.Client'
       clientId:
         type: integer
+      contact:
+        $ref: '#/definitions/model.Contact'
       contactId:
-        type: integer
-      contractId:
         type: integer
       endTime:
         type: string
@@ -1197,14 +1391,24 @@
         items:
           $ref: '#/definitions/model.Product'
         type: array
+      quotation:
+        $ref: '#/definitions/model.Quotation'
       quotationId:
         type: integer
       remark:
         type: string
       saleChanceId:
         type: integer
+      salesDetails:
+        $ref: '#/definitions/model.SalesDetails'
+      salesDetailsId:
+        type: integer
+      serviceContractStatus:
+        $ref: '#/definitions/model.ServiceContractStatus'
       serviceContractStatusId:
         type: integer
+      serviceContractType:
+        $ref: '#/definitions/model.ServiceContractType'
       serviceContractTypeId:
         type: integer
       serviceTimes:
@@ -1249,8 +1453,14 @@
     type: object
   model.ServiceFollowup:
     properties:
+      Member:
+        $ref: '#/definitions/model.User'
+      client:
+        $ref: '#/definitions/model.Client'
       clientId:
         type: integer
+      contact:
+        $ref: '#/definitions/model.Contact'
       contactId:
         type: integer
       customerServiceSheet:
@@ -1259,26 +1469,36 @@
         type: string
       id:
         type: integer
+      isVisit:
+        $ref: '#/definitions/model.IsVisit'
       isVisitId:
         type: integer
       memberId:
         type: integer
       number:
         type: string
+      oldMember:
+        $ref: '#/definitions/model.User'
       oldMemberId:
         type: integer
       planId:
         type: integer
       remark:
         type: string
+      satisfaction:
+        $ref: '#/definitions/model.Satisfaction'
       satisfactionId:
         type: integer
       serviceId:
         type: integer
       serviceOrder:
         $ref: '#/definitions/model.ServiceOrder'
+      solveRate:
+        $ref: '#/definitions/model.SolveRate'
       solveRateId:
         type: integer
+      timelyRate:
+        $ref: '#/definitions/model.TimelyRate'
       timelyRateId:
         type: integer
     type: object
@@ -1291,10 +1511,12 @@
         description: 棰勭害涓婇棬鏃堕棿
         type: string
       carFare:
-        description: 浜ら�氳垂
+        description: 浜ら�氳垂                                                                 //
+          浜ら�氳垂
         type: number
       chargeAmount:
-        description: 鏀惰垂閲戦
+        description: 鏀惰垂閲戦                                                       //
+          鏀惰垂閲戦
         type: number
       client:
         $ref: '#/definitions/model.Client'
@@ -1361,6 +1583,8 @@
       serviceNumber:
         description: 鏈嶅姟鍗曠紪鍙�
         type: string
+      serviceOrderStatus:
+        $ref: '#/definitions/model.ServiceOrderStatus'
       serviceType:
         $ref: '#/definitions/model.ServiceType'
       serviceTypeId:
@@ -1385,6 +1609,13 @@
       timeSpentId:
         description: 鑺辫垂鏃堕棿
         type: integer
+    type: object
+  model.ServiceOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   model.ServiceType:
     properties:
@@ -1480,6 +1711,40 @@
       username:
         type: string
       uuid:
+        type: string
+    type: object
+  model.WechatOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
+  product.Product:
+    properties:
+      Amount:
+        description: 搴撳瓨鍓╀綑閲�
+        type: number
+      IsSale:
+        description: 鏄惁閿�鍞�
+        type: boolean
+      MaterialMode:
+        description: 鐗╂枡绫诲瀷
+        type: string
+      MinInventory:
+        description: 瀹夊叏搴撳瓨
+        type: integer
+      Name:
+        type: string
+      Number:
+        type: string
+      PurchaseType:
+        description: 閲囪喘绫诲瀷
+        type: string
+      SalePrice:
+        description: 閿�鍞环鏍�
+        type: number
+      Unit:
         type: string
     type: object
   request.AddAccountId:
@@ -1677,6 +1942,13 @@
         description: 鍥藉鍚嶇О
         type: string
     type: object
+  request.AddCourierCompany:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
   request.AddCurrency:
     properties:
       name:
@@ -1732,18 +2004,6 @@
       name:
         type: string
     type: object
-  request.AddFile:
-    properties:
-      sourceId:
-        description: 鏉ユ簮id
-        type: integer
-      sourceType:
-        description: 闄勪欢鏉ユ簮
-        type: string
-    required:
-    - sourceId
-    - sourceType
-    type: object
   request.AddFollowRecord:
     properties:
       follow_record:
@@ -1757,6 +2017,65 @@
         type: string
     required:
     - name
+    type: object
+  request.AddInvoice:
+    properties:
+      clientId:
+        description: 瀹㈡埛id
+        type: integer
+      courierCompanyId:
+        description: 鐗╂祦鍏徃
+        type: integer
+      courierNumber:
+        description: 鐗╂祦鍗曞彿
+        type: string
+      invoiceDate:
+        description: 寮�绁ㄦ棩鏈�
+        type: string
+      invoiceNumber:
+        description: 鍙戠エ鍙风爜
+        type: string
+      invoiceStatusId:
+        description: 鍙戠エ鐘舵�乮d
+        type: integer
+      invoiceTypeId:
+        description: 鍙戠エ绫诲瀷id
+        type: integer
+      principalId:
+        description: 閿�鍞礋璐d汉id
+        type: integer
+      products:
+        description: 鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�
+        items:
+          $ref: '#/definitions/model.Product'
+        type: array
+      sourceId:
+        description: 婧愬崟id
+        type: integer
+      sourceType:
+        allOf:
+        - $ref: '#/definitions/constvar.InvoiceSourceType'
+        description: 婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)
+      subject:
+        description: 涓婚
+        type: string
+      taxpayerIdNumber:
+        description: 绾崇◣璇嗗埆鍙�
+        type: string
+    type: object
+  request.AddInvoiceStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
+  request.AddInvoiceType:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   request.AddIsInvoice:
     properties:
@@ -1877,6 +2196,9 @@
     type: object
   request.AddReceipt:
     properties:
+      amount:
+        description: 鏀舵閲戦
+        type: string
       bankAccountId:
         description: 璐︽埛id
         type: integer
@@ -2036,8 +2358,42 @@
     type: object
   request.AddSalesDetails:
     properties:
-      salesDetails:
-        $ref: '#/definitions/request.SalesDetails'
+      address:
+        type: string
+      addressee:
+        type: string
+      clientId:
+        type: integer
+      conditions:
+        type: string
+      deliveryDate:
+        type: string
+      logisticCompany:
+        type: string
+      logisticCost:
+        type: number
+      logisticNumber:
+        type: string
+      memberId:
+        type: integer
+      number:
+        type: string
+      phone:
+        type: string
+      products:
+        items:
+          $ref: '#/definitions/model.Product'
+        type: array
+      remark:
+        type: string
+      saleChanceId:
+        type: integer
+      saleType:
+        type: integer
+      signTime:
+        type: string
+      wechatOrderStatusId:
+        type: integer
     type: object
   request.AddSalesLeads:
     properties:
@@ -2111,14 +2467,14 @@
         items:
           $ref: '#/definitions/model.ServiceCollectionPlan'
         type: array
+    required:
+    - list
     type: object
   request.AddServiceContract:
     properties:
       clientId:
         type: integer
       contactId:
-        type: integer
-      contractId:
         type: integer
       endTime:
         type: string
@@ -2136,6 +2492,8 @@
         type: string
       saleChanceId:
         type: integer
+      salesDetailsId:
+        type: integer
       serviceTimes:
         type: integer
       signTime:
@@ -2148,6 +2506,8 @@
         type: string
       typeId:
         type: integer
+    required:
+    - memberId
     type: object
   request.AddServiceContractStatus:
     properties:
@@ -2350,6 +2710,13 @@
         description: 鑺辫垂鏃堕棿
         type: integer
     type: object
+  request.AddServiceOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
   request.AddServiceType:
     properties:
       id:
@@ -2426,6 +2793,13 @@
     - vettingId
     - vettingType
     type: object
+  request.AddWechatOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
   request.Assign:
     properties:
       ids:
@@ -2435,6 +2809,8 @@
       member_id:
         type: integer
       type:
+        description: '绫诲瀷: client: 瀹㈡埛; salesLead: 閿�鍞嚎绱�; contact: 鑱旂郴浜�; followRecord:
+          璺熻繘璁板綍'
         type: string
     type: object
   request.CasbinInfo:
@@ -2566,6 +2942,13 @@
           type: integer
         type: array
     type: object
+  request.DeleteServiceContract:
+    properties:
+      ids:
+        items:
+          type: integer
+        type: array
+    type: object
   request.DeleteServiceFeeManage:
     properties:
       ids:
@@ -2586,12 +2969,25 @@
         description: 鐢ㄦ埛ID
         type: string
     type: object
-  request.DeleteserviceContract:
+  request.DownloadFile:
     properties:
-      ids:
-        items:
-          type: integer
-        type: array
+      id:
+        description: 闄勪欢id
+        type: integer
+      key:
+        description: 闄勪欢瀛樺偍key
+        type: string
+      sourceId:
+        description: 鏉ユ簮id
+        type: integer
+      sourceType:
+        description: 闄勪欢鏉ユ簮
+        type: string
+    required:
+    - id
+    - key
+    - sourceId
+    - sourceType
     type: object
   request.FollowRecord:
     properties:
@@ -2634,18 +3030,25 @@
         type: integer
       search_map:
         additionalProperties: true
+        description: '鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"name": "瀹㈡埛鍚嶇О",
+          "phone": "鎵嬫満鍙风爜", "detail_address":"璇︾粏鍦板潃", "next_visit_time":"涓嬪洖鍥炶鏃ユ湡", "member_name":
+          "閿�鍞礋璐d汉", "client_status": "瀹㈡埛鐘舵��", "client_level": "閲嶈绾у埆"}'
         type: object
     type: object
   request.GetContactList:
     properties:
-      keyword:
-        type: string
       page:
         description: 椤电爜
         type: integer
       pageSize:
         description: 姣忛〉澶у皬
         type: integer
+      search_map:
+        additionalProperties: true
+        description: '鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"name": "瀹㈡埛鍚嶇О",
+          "phone": "鎵嬫満鍙风爜", "detail_address":"璇︾粏鍦板潃", "next_visit_time":"涓嬪洖鍥炶鏃ユ湡", "member_name":
+          "閿�鍞礋璐d汉", "client_status": "瀹㈡埛鐘舵��", "client_level": "閲嶈绾у埆", "is_first": "鏄惁鏄瑕佽仈绯讳汉"}'
+        type: object
     type: object
   request.GetContractList:
     properties:
@@ -2675,14 +3078,19 @@
     type: object
   request.GetFollowRecordList:
     properties:
-      keyword:
-        type: string
       page:
         description: 椤电爜
         type: integer
       pageSize:
         description: 姣忛〉澶у皬
         type: integer
+      search_map:
+        additionalProperties: true
+        description: '鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"topic": "璺熻繘涓婚",
+          "member_name": "璺熻繘浜�", "client_name": "瀹㈡埛鍚嶇О", "client_status": "瀹㈡埛鐘舵��", "follow_time":
+          "璺熻繘鏃堕棿", "next_follow_time": "涓嬫璺熻繘鏃堕棿", "record": "璺熻繘璁板綍", "phone": "鑱旂郴浜虹數璇�",
+          "contact_name": "鑱旂郴浜哄鍚�"}'
+        type: object
     type: object
   request.GetMasterOrderList:
     properties:
@@ -2743,6 +3151,8 @@
     properties:
       keyword:
         type: string
+      keywordType:
+        $ref: '#/definitions/constvar.SalesDetailsKeywordType'
       page:
         description: 椤电爜
         type: integer
@@ -2752,14 +3162,18 @@
     type: object
   request.GetSalesLeadsList:
     properties:
-      keyword:
-        type: string
       page:
         description: 椤电爜
         type: integer
       pageSize:
         description: 姣忛〉澶у皬
         type: integer
+      search_map:
+        additionalProperties: true
+        description: '鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"} {"name": "瀹㈡埛鍚嶇О",
+          "number": "閿�鍞嚎绱㈢紪鍙�", "contact_name": "鑱旂郴浜哄鍚�", "phone": "鎵嬫満鍙风爜", "sales_resources":
+          "鍟嗘満鏉ユ簮", "city": "鍩庡競", "province": "鐪佷唤", "member_name": "璐熻矗浜�"}'
+        type: object
     type: object
   request.GetSalesRefundList:
     properties:
@@ -2826,6 +3240,21 @@
         description: 姣忛〉澶у皬
         type: integer
     type: object
+  request.GetServiceOrderList:
+    properties:
+      keyword:
+        type: string
+      keywordType:
+        $ref: '#/definitions/constvar.ServiceOrderKeywordType'
+      page:
+        description: 椤电爜
+        type: integer
+      pageSize:
+        description: 姣忛〉澶у皬
+        type: integer
+      queryClass:
+        $ref: '#/definitions/constvar.ServiceOrderQueryClass'
+    type: object
   request.GetSubOrderList:
     properties:
       keyword:
@@ -2884,6 +3313,17 @@
         type: string
       subOrderId:
         type: integer
+    type: object
+  request.PushSalesLeads:
+    properties:
+      id:
+        type: integer
+      reason:
+        type: string
+      step:
+        allOf:
+        - $ref: '#/definitions/constvar.SalesStatus'
+        description: '鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触'
     type: object
   request.Register:
     properties:
@@ -2952,7 +3392,7 @@
         type: integer
       signTime:
         type: string
-      wechatOrderStatus:
+      wechatOrderStatusId:
         type: integer
     type: object
   request.SalesRefund:
@@ -3310,6 +3750,13 @@
         description: 鍥藉鍚嶇О
         type: string
     type: object
+  request.UpdateCourierCompany:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
   request.UpdateCurrency:
     properties:
       id:
@@ -3411,48 +3858,6 @@
       name:
         type: string
     type: object
-  request.UpdateFile:
-    properties:
-      bucket:
-        description: 瀵硅薄瀛樺偍bucket
-        type: string
-      content:
-        description: 鏂囦欢鍐呭
-        type: string
-      createTime:
-        description: 鍒涘缓鏃堕棿
-        type: string
-      downloadCount:
-        description: 涓嬫娆℃暟
-        type: integer
-      filePath:
-        description: 鏂囦欢璺緞
-        type: string
-      fileType:
-        description: 鏂囦欢绫诲瀷
-        type: string
-      id:
-        type: integer
-      key:
-        description: 瀵硅薄瀛樺偍key
-        type: string
-      name:
-        type: string
-      previewCount:
-        description: 棰勮娆℃暟
-        type: integer
-      size:
-        description: 鏂囦欢澶у皬
-        type: integer
-      sourceId:
-        description: 鏉ユ簮id
-        type: integer
-      sourceType:
-        description: 闄勪欢鏉ユ簮
-        type: string
-      updateTime:
-        type: string
-    type: object
   request.UpdateFollowRecord:
     properties:
       follow_record:
@@ -3480,6 +3885,68 @@
     required:
     - id
     - name
+    type: object
+  request.UpdateInvoice:
+    properties:
+      clientId:
+        description: 瀹㈡埛id
+        type: integer
+      courierCompanyId:
+        description: 鐗╂祦鍏徃
+        type: integer
+      courierNumber:
+        description: 鐗╂祦鍗曞彿
+        type: string
+      id:
+        type: integer
+      invoiceDate:
+        description: 寮�绁ㄦ棩鏈�
+        type: integer
+      invoiceNumber:
+        description: 鍙戠エ鍙风爜
+        type: string
+      invoiceStatusId:
+        description: 鍙戠エ鐘舵�乮d
+        type: integer
+      invoiceTypeId:
+        description: 鍙戠エ绫诲瀷id
+        type: integer
+      principalId:
+        description: 閿�鍞礋璐d汉id
+        type: integer
+      products:
+        description: 鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�
+        items:
+          $ref: '#/definitions/model.Product'
+        type: array
+      sourceId:
+        description: 婧愬崟id
+        type: integer
+      sourceType:
+        description: 婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)
+        type: integer
+      subject:
+        description: 涓婚
+        type: string
+      taxpayerIdNumber:
+        description: 绾崇◣璇嗗埆鍙�
+        type: string
+    required:
+    - id
+    type: object
+  request.UpdateInvoiceStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
+  request.UpdateInvoiceType:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   request.UpdateIsInvoice:
     properties:
@@ -3679,6 +4146,9 @@
     type: object
   request.UpdateReceipt:
     properties:
+      amount:
+        description: 鏀舵閲戦
+        type: string
       bankAccountId:
         description: 璐︽埛id
         type: integer
@@ -4074,12 +4544,16 @@
       remark:
         description: 澶囨敞
         type: string
-      serviceContractId:
-        description: 鏈嶅姟鍚堝悓id
+      sourceId:
+        description: 婧愬崟id
+        type: integer
+      sourceType:
+        description: 婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級
         type: integer
       status:
+        allOf:
+        - $ref: '#/definitions/constvar.CollectionStatus'
         description: 鐘舵�侊紙1鏈敹2宸叉敹锛�
-        type: integer
       term:
         description: 鏈熸
         type: integer
@@ -4089,8 +4563,6 @@
       clientId:
         type: integer
       contactId:
-        type: integer
-      contractId:
         type: integer
       endTime:
         type: string
@@ -4110,6 +4582,8 @@
         type: string
       saleChanceId:
         type: integer
+      salesDetailsId:
+        type: integer
       serviceTimes:
         type: integer
       signTime:
@@ -4122,6 +4596,8 @@
         type: string
       typeId:
         type: integer
+    required:
+    - memberId
     type: object
   request.UpdateServiceContractStatus:
     properties:
@@ -4352,6 +4828,13 @@
         description: 鑺辫垂鏃堕棿
         type: integer
     type: object
+  request.UpdateServiceOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
   request.UpdateServiceType:
     properties:
       id:
@@ -4456,6 +4939,13 @@
     required:
     - id
     - status
+    type: object
+  request.UpdateWechatOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   response.AccountIdResponse:
     properties:
@@ -6041,6 +6531,107 @@
       summary: 鏇存柊鍥藉
       tags:
       - Country
+  /api/courierCompany/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddCourierCompany'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞鐗╂祦鍏徃
+      tags:
+      - 鐗╂祦鍏徃
+  /api/courierCompany/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎鐗╂祦鍏徃
+      tags:
+      - 鐗╂祦鍏徃
+  /api/courierCompany/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - CourierCompanyKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - CourierCompanyQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.CourierCompany'
+                  type: array
+              type: object
+      summary: 鑾峰彇鐗╂祦鍏徃鍒楄〃
+      tags:
+      - 鐗╂祦鍏徃
+  /api/courierCompany/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateCourierCompany'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊鐗╂祦鍏徃
+      tags:
+      - 鐗╂祦鍏徃
   /api/currency/add:
     post:
       parameters:
@@ -6578,12 +7169,21 @@
   /api/file/add:
     post:
       parameters:
-      - description: 鏌ヨ鍙傛暟
-        in: body
-        name: object
+      - description: 鏉ユ簮id
+        in: formData
+        name: sourceId
         required: true
-        schema:
-          $ref: '#/definitions/request.AddFile'
+        type: integer
+      - description: 闄勪欢鏉ユ簮
+        in: formData
+        name: sourceType
+        required: true
+        type: string
+      - description: 涓婁紶鏂囦欢
+        in: formData
+        name: file
+        required: true
+        type: file
       produces:
       - application/json
       responses:
@@ -6612,60 +7212,15 @@
       summary: 鍒犻櫎闄勪欢
       tags:
       - 闄勪欢绠$悊
-  /api/file/list:
-    get:
+  /api/file/download:
+    post:
       parameters:
-      - in: query
-        name: keyword
-        type: string
-      - enum:
-        - ""
-        in: query
-        name: keywordType
-        type: string
-        x-enum-varnames:
-        - FileKeywordCustomerName
-      - description: 椤电爜
-        in: query
-        name: page
-        type: integer
-      - description: 姣忛〉澶у皬
-        in: query
-        name: pageSize
-        type: integer
-      - enum:
-        - ""
-        in: query
-        name: queryClass
-        type: string
-        x-enum-varnames:
-        - FileQueryClassExpireLessThen60Days
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: OK
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.ListResponse'
-            - properties:
-                data:
-                  items:
-                    $ref: '#/definitions/model.File'
-                  type: array
-              type: object
-      summary: 鑾峰彇闄勪欢鍒楄〃
-      tags:
-      - 闄勪欢绠$悊
-  /api/file/update:
-    put:
-      parameters:
-      - description: 鏌ヨ鍙傛暟
+      - description: 鍙傛暟
         in: body
         name: object
         required: true
         schema:
-          $ref: '#/definitions/request.UpdateFile'
+          $ref: '#/definitions/request.DownloadFile'
       produces:
       - application/json
       responses:
@@ -6673,7 +7228,26 @@
           description: OK
           schema:
             $ref: '#/definitions/contextx.Response'
-      summary: 鏇存柊闄勪欢
+      summary: 闄勪欢涓嬭浇
+      tags:
+      - 闄勪欢绠$悊
+  /api/file/preview:
+    post:
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.DownloadFile'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 闄勪欢棰勮
       tags:
       - 闄勪欢绠$悊
   /api/followRecord/add:
@@ -6847,6 +7421,309 @@
       summary: 鏇存柊琛屼笟
       tags:
       - Industry
+  /api/invoice/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddInvoice'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞閿�鍞彂绁�
+      tags:
+      - 閿�鍞彂绁�
+  /api/invoice/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎閿�鍞彂绁�
+      tags:
+      - 閿�鍞彂绁�
+  /api/invoice/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - InvoiceKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - InvoiceQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.Invoice'
+                  type: array
+              type: object
+      summary: 鑾峰彇閿�鍞彂绁ㄥ垪琛�
+      tags:
+      - 閿�鍞彂绁�
+  /api/invoice/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateInvoice'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊閿�鍞彂绁�
+      tags:
+      - 閿�鍞彂绁�
+  /api/invoiceStatus/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddInvoiceStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞鍙戠エ鐘舵��
+      tags:
+      - 鍙戠エ鐘舵��
+  /api/invoiceStatus/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎鍙戠エ鐘舵��
+      tags:
+      - 鍙戠エ鐘舵��
+  /api/invoiceStatus/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - InvoiceStatusKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - InvoiceStatusQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.InvoiceStatus'
+                  type: array
+              type: object
+      summary: 鑾峰彇鍙戠エ鐘舵�佸垪琛�
+      tags:
+      - 鍙戠エ鐘舵��
+  /api/invoiceStatus/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateInvoiceStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊鍙戠エ鐘舵��
+      tags:
+      - 鍙戠エ鐘舵��
+  /api/invoiceType/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddInvoiceType'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞鍙戠エ绫诲瀷
+      tags:
+      - 鍙戠エ绫诲瀷
+  /api/invoiceType/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎鍙戠エ绫诲瀷
+      tags:
+      - 鍙戠エ绫诲瀷
+  /api/invoiceType/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - InvoiceTypeKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - InvoiceTypeQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.InvoiceType'
+                  type: array
+              type: object
+      summary: 鑾峰彇鍙戠エ绫诲瀷鍒楄〃
+      tags:
+      - 鍙戠エ绫诲瀷
+  /api/invoiceType/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateInvoiceType'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊鍙戠エ绫诲瀷
+      tags:
+      - 鍙戠エ绫诲瀷
   /api/isInvoice/add:
     post:
       parameters:
@@ -7581,6 +8458,65 @@
       summary: 鏇存柊浼樺厛绾у埆
       tags:
       - 浼樺厛绾у埆绠$悊
+  /api/product/info:
+    get:
+      parameters:
+      - description: 鍙傛暟
+        in: query
+        name: productNumber
+        required: true
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/contextx.Response'
+            - properties:
+                data:
+                  $ref: '#/definitions/product.Product'
+              type: object
+      summary: 鑾峰彇浜у搧璇︽儏
+      tags:
+      - 浜у搧
+  /api/product/list:
+    get:
+      parameters:
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - description: 浜у搧鍚嶇О
+        in: query
+        name: productName
+        type: string
+      - description: 浜у搧缂栫爜
+        in: query
+        name: productNumber
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/product.Product'
+                  type: array
+              type: object
+      summary: 鑾峰彇浜у搧鍒楄〃
+      tags:
+      - 浜у搧
   /api/province/add:
     post:
       parameters:
@@ -8759,6 +9695,25 @@
       summary: 閿�鍞嚎绱㈠垪琛�
       tags:
       - SalesLeads
+  /api/salesLeads/push:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.PushSalesLeads'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鎺ㄨ繘閿�鍞嚎绱�
+      tags:
+      - SalesLeads
   /api/salesLeads/update:
     put:
       parameters:
@@ -9173,9 +10128,9 @@
           description: OK
           schema:
             $ref: '#/definitions/contextx.Response'
-      summary: 娣诲姞鏈嶅姟鍚堝悓鏀舵璁″垝
+      summary: 娣诲姞鏀舵璁″垝
       tags:
-      - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+      - 鏀舵璁″垝绠$悊
   /api/serviceCollectionPlan/delete/{id}:
     delete:
       parameters:
@@ -9191,9 +10146,9 @@
           description: OK
           schema:
             $ref: '#/definitions/contextx.Response'
-      summary: 鍒犻櫎鏈嶅姟鍚堝悓鏀舵璁″垝
+      summary: 鍒犻櫎鏀舵璁″垝
       tags:
-      - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+      - 鏀舵璁″垝绠$悊
   /api/serviceCollectionPlan/list:
     get:
       parameters:
@@ -9215,9 +10170,9 @@
                     $ref: '#/definitions/model.ServiceCollectionPlan'
                   type: array
               type: object
-      summary: 鑾峰彇鏈嶅姟鍚堝悓鏀舵璁″垝鍒楄〃
+      summary: 鑾峰彇鏀舵璁″垝鍒楄〃
       tags:
-      - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+      - 鏀舵璁″垝绠$悊
   /api/serviceCollectionPlan/update:
     put:
       parameters:
@@ -9234,9 +10189,9 @@
           description: OK
           schema:
             $ref: '#/definitions/contextx.Response'
-      summary: 鏇存柊鏈嶅姟鍚堝悓鏀舵璁″垝
+      summary: 鏇存柊鏀舵璁″垝
       tags:
-      - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+      - 鏀舵璁″垝绠$悊
   /api/serviceContract/add:
     post:
       parameters:
@@ -9264,7 +10219,7 @@
         name: object
         required: true
         schema:
-          $ref: '#/definitions/request.DeleteserviceContract'
+          $ref: '#/definitions/request.DeleteServiceContract'
       produces:
       - application/json
       responses:
@@ -9296,7 +10251,7 @@
                 data:
                   $ref: '#/definitions/response.ServiceContractsResponse'
               type: object
-      summary: 鐢熸垚璁″垝鍒楄〃
+      summary: 鏈嶅姟鍚堝悓鍒楄〃
       tags:
       - ServiceContract
   /api/serviceContract/update:
@@ -9664,7 +10619,14 @@
       tags:
       - 鏈嶅姟鍗曠鐞�
   /api/serviceOrder/list:
-    get:
+    post:
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.GetServiceOrderList'
       produces:
       - application/json
       responses:
@@ -9701,6 +10663,107 @@
       summary: 鏇存柊鏈嶅姟鍗�
       tags:
       - 鏈嶅姟鍗曠鐞�
+  /api/serviceOrderStatus/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddServiceOrderStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞鏈嶅姟鍗曠姸鎬�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
+  /api/serviceOrderStatus/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎鏈嶅姟鍗曠姸鎬�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
+  /api/serviceOrderStatus/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - ServiceOrderStatusKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - ServiceOrderStatusQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.ServiceOrderStatus'
+                  type: array
+              type: object
+      summary: 鑾峰彇鏈嶅姟鍗曠姸鎬佸垪琛�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
+  /api/serviceOrderStatus/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateServiceOrderStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊鏈嶅姟鍗曠姸鎬�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
   /api/serviceType/add:
     post:
       parameters:
@@ -10413,4 +11476,105 @@
       summary: 鏇存柊瀹℃壒
       tags:
       - Vetting
+  /api/wechatOrderStatus/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddWechatOrderStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞寰俊璁㈠崟鐘舵��
+      tags:
+      - 寰俊璁㈠崟鐘舵��
+  /api/wechatOrderStatus/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎寰俊璁㈠崟鐘舵��
+      tags:
+      - 寰俊璁㈠崟鐘舵��
+  /api/wechatOrderStatus/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - WechatOrderStatusKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - WechatOrderStatusQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.WechatOrderStatus'
+                  type: array
+              type: object
+      summary: 鑾峰彇寰俊璁㈠崟鐘舵�佸垪琛�
+      tags:
+      - 寰俊璁㈠崟鐘舵��
+  /api/wechatOrderStatus/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateWechatOrderStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊寰俊璁㈠崟鐘舵��
+      tags:
+      - 寰俊璁㈠崟鐘舵��
 swagger: "2.0"

--
Gitblit v1.8.0