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 | 1591 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 1,518 insertions(+), 73 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index c8dcd43..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,6 +46,50 @@
type: string
x-enum-varnames:
- FaqQueryClassExpireLessThen60Days
+ constvar.InvoiceKeywordType:
+ enum:
+ - ""
+ type: string
+ x-enum-varnames:
+ - InvoiceKeywordCustomerName
+ constvar.InvoiceQueryClass:
+ enum:
+ - ""
+ type: string
+ x-enum-varnames:
+ - 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:
- ""
@@ -47,28 +114,40 @@
type: string
x-enum-varnames:
- ReceiptQueryClassExpireLessThen60Days
+ constvar.SalesDetailsKeywordType:
+ enum:
+ - 瀹㈡埛鍚嶇О
+ - 璁㈠崟缂栧彿
+ - 绛剧害鏃ユ湡
+ - 閿�鍞礋璐d汉
+ - 浜у搧鍚嶇О
+ type: string
+ x-enum-varnames:
+ - SalesDetailsKeywordTypeCustomerName
+ - SalesDetailsKeywordTypeOrderNumber
+ - SalesDetailsKeywordTypeSignTime
+ - SalesDetailsKeywordTypePrincipal
+ - SalesDetailsKeywordTypeProductName
constvar.SalesStatus:
enum:
+ - 0
- 1
- 2
- 3
- - 4
- - 5
- - 6
+ - -1
type: integer
x-enum-comments:
SalesStatusFail: 澶辫触
SalesStatusIng: 杩涜涓�
SalesStatusLevelUptoClient: 鍗囩骇涓哄鎴�
SalesStatusLevelUptoClientAndSalesChance: 鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�
- SalesStatusSuccess: 鎴愬姛
+ SalesStatusNew: 鏂板缓
x-enum-varnames:
- SalesStatusNew
- SalesStatusIng
- - SalesStatusSuccess
- - SalesStatusFail
- SalesStatusLevelUptoClient
- SalesStatusLevelUptoClientAndSalesChance
+ - SalesStatusFail
constvar.ServiceContractKeywordType:
enum:
- 鏈嶅姟鍚堝悓缂栧彿
@@ -159,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
@@ -173,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:
@@ -276,6 +405,8 @@
type: integer
latest_service_time:
type: string
+ member:
+ $ref: '#/definitions/model.User'
member_id:
type: integer
name:
@@ -455,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:
@@ -534,6 +672,8 @@
type: string
id:
type: integer
+ member:
+ $ref: '#/definitions/model.User'
member_id:
type: integer
next_follow_time:
@@ -552,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
@@ -692,7 +900,7 @@
model.Product:
properties:
amount:
- type: integer
+ type: number
desc:
type: string
id:
@@ -755,6 +963,9 @@
type: object
model.Receipt:
properties:
+ amount:
+ description: 鏀舵閲戦
+ type: string
bankAccountId:
description: 璐︽埛id
type: integer
@@ -935,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:
@@ -963,6 +1186,8 @@
type: array
remark:
type: string
+ saleChance:
+ $ref: '#/definitions/model.SaleChance'
saleChanceId:
type: integer
saleType:
@@ -970,6 +1195,8 @@
signTime:
type: string
wechatOrderStatus:
+ $ref: '#/definitions/model.WechatOrderStatus'
+ wechatOrderStatusId:
type: integer
type: object
model.SalesLeads:
@@ -1006,6 +1233,8 @@
$ref: '#/definitions/model.Province'
province_id:
type: integer
+ reason:
+ type: string
region:
$ref: '#/definitions/model.Region'
region_id:
@@ -1112,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
@@ -1142,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:
@@ -1194,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:
@@ -1204,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
@@ -1236,10 +1511,12 @@
description: 棰勭害涓婇棬鏃堕棿
type: string
carFare:
- description: 浜ら�氳垂
+ description: 浜ら�氳垂 //
+ 浜ら�氳垂
type: number
chargeAmount:
- description: 鏀惰垂閲戦
+ description: 鏀惰垂閲戦 //
+ 鏀惰垂閲戦
type: number
client:
$ref: '#/definitions/model.Client'
@@ -1306,6 +1583,8 @@
serviceNumber:
description: 鏈嶅姟鍗曠紪鍙�
type: string
+ serviceOrderStatus:
+ $ref: '#/definitions/model.ServiceOrderStatus'
serviceType:
$ref: '#/definitions/model.ServiceType'
serviceTypeId:
@@ -1330,6 +1609,13 @@
timeSpentId:
description: 鑺辫垂鏃堕棿
type: integer
+ type: object
+ model.ServiceOrderStatus:
+ properties:
+ id:
+ type: integer
+ name:
+ type: string
type: object
model.ServiceType:
properties:
@@ -1425,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:
@@ -1524,6 +1844,9 @@
representative:
description: 娉曚汉浠h〃
type: string
+ sales_leads_id:
+ description: 閿�鍞嚎绱D
+ type: integer
service_member_id:
description: 鏈嶅姟璐熻矗浜篒D
type: integer
@@ -1619,6 +1942,13 @@
description: 鍥藉鍚嶇О
type: string
type: object
+ request.AddCourierCompany:
+ properties:
+ id:
+ type: integer
+ name:
+ type: string
+ type: object
request.AddCurrency:
properties:
name:
@@ -1687,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:
@@ -1807,6 +2196,9 @@
type: object
request.AddReceipt:
properties:
+ amount:
+ description: 鏀舵閲戦
+ type: string
bankAccountId:
description: 璐︽埛id
type: integer
@@ -1966,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:
@@ -2041,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
@@ -2066,6 +2492,8 @@
type: string
saleChanceId:
type: integer
+ salesDetailsId:
+ type: integer
serviceTimes:
type: integer
signTime:
@@ -2078,6 +2506,8 @@
type: string
typeId:
type: integer
+ required:
+ - memberId
type: object
request.AddServiceContractStatus:
properties:
@@ -2163,6 +2593,9 @@
representative:
description: 娉曚汉浠h〃
type: string
+ sales_leads_id:
+ description: 閿�鍞嚎绱D
+ type: integer
service_member_id:
description: 鏈嶅姟璐熻矗浜篒D
type: integer
@@ -2277,6 +2710,13 @@
description: 鑺辫垂鏃堕棿
type: integer
type: object
+ request.AddServiceOrderStatus:
+ properties:
+ id:
+ type: integer
+ name:
+ type: string
+ type: object
request.AddServiceType:
properties:
id:
@@ -2353,13 +2793,24 @@
- vettingId
- vettingType
type: object
- request.Assign:
+ request.AddWechatOrderStatus:
properties:
id:
type: integer
+ name:
+ type: string
+ type: object
+ request.Assign:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
member_id:
type: integer
type:
+ description: '绫诲瀷: client: 瀹㈡埛; salesLead: 閿�鍞嚎绱�; contact: 鑱旂郴浜�; followRecord:
+ 璺熻繘璁板綍'
type: string
type: object
request.CasbinInfo:
@@ -2457,17 +2908,86 @@
type: integer
type: array
type: object
+ request.DeleteContact:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
request.DeleteCountry:
properties:
id:
description: 鍥藉ID
type: integer
type: object
+ request.DeleteFollowRecord:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
+ request.DeleteOrderManage:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
+ request.DeleteSalesLeads:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
+ request.DeleteServiceContract:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
+ request.DeleteServiceFeeManage:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
+ request.DeleteServiceFollowup:
+ properties:
+ ids:
+ items:
+ type: integer
+ type: array
+ type: object
request.DeleteUserReq:
properties:
userId:
description: 鐢ㄦ埛ID
type: string
+ type: object
+ request.DownloadFile:
+ properties:
+ 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:
@@ -2502,25 +3022,33 @@
type: object
request.GetClientList:
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": "閲嶈绾у埆"}'
+ 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:
@@ -2550,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:
@@ -2618,6 +3151,8 @@
properties:
keyword:
type: string
+ keywordType:
+ $ref: '#/definitions/constvar.SalesDetailsKeywordType'
page:
description: 椤电爜
type: integer
@@ -2627,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:
@@ -2701,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:
@@ -2759,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:
@@ -2827,7 +3392,7 @@
type: integer
signTime:
type: string
- wechatOrderStatus:
+ wechatOrderStatusId:
type: integer
type: object
request.SalesRefund:
@@ -3027,6 +3592,9 @@
representative:
description: 娉曚汉浠h〃
type: string
+ sales_leads_id:
+ description: 閿�鍞嚎绱D
+ type: integer
service_member_id:
description: 鏈嶅姟璐熻矗浜篒D
type: integer
@@ -3182,6 +3750,13 @@
description: 鍥藉鍚嶇О
type: string
type: object
+ request.UpdateCourierCompany:
+ properties:
+ id:
+ type: integer
+ name:
+ type: string
+ type: object
request.UpdateCurrency:
properties:
id:
@@ -3310,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:
@@ -3509,6 +4146,9 @@
type: object
request.UpdateReceipt:
properties:
+ amount:
+ description: 鏀舵閲戦
+ type: string
bankAccountId:
description: 璐︽埛id
type: integer
@@ -3904,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
@@ -3919,8 +4563,6 @@
clientId:
type: integer
contactId:
- type: integer
- contractId:
type: integer
endTime:
type: string
@@ -3940,6 +4582,8 @@
type: string
saleChanceId:
type: integer
+ salesDetailsId:
+ type: integer
serviceTimes:
type: integer
signTime:
@@ -3952,6 +4596,8 @@
type: string
typeId:
type: integer
+ required:
+ - memberId
type: object
request.UpdateServiceContractStatus:
properties:
@@ -4061,6 +4707,9 @@
representative:
description: 娉曚汉浠h〃
type: string
+ sales_leads_id:
+ description: 閿�鍞嚎绱D
+ type: integer
service_member_id:
description: 鏈嶅姟璐熻矗浜篒D
type: integer
@@ -4179,6 +4828,13 @@
description: 鑺辫垂鏃堕棿
type: integer
type: object
+ request.UpdateServiceOrderStatus:
+ properties:
+ id:
+ type: integer
+ name:
+ type: string
+ type: object
request.UpdateServiceType:
properties:
id:
@@ -4283,6 +4939,13 @@
required:
- id
- status
+ type: object
+ request.UpdateWechatOrderStatus:
+ properties:
+ id:
+ type: integer
+ name:
+ type: string
type: object
response.AccountIdResponse:
properties:
@@ -4972,7 +5635,7 @@
description: OK
schema:
$ref: '#/definitions/contextx.Response'
- summary: 瀹℃牳
+ summary: 鍒嗛厤
tags:
- Assign
/api/authority/add:
@@ -5652,14 +6315,15 @@
summary: 娣诲姞鑱旂郴浜�
tags:
- Contact
- /api/contact/delete/{id}:
+ /api/contact/delete:
delete:
parameters:
- description: 鏌ヨ鍙傛暟
- in: path
- name: id
+ in: body
+ name: object
required: true
- type: integer
+ schema:
+ $ref: '#/definitions/request.DeleteContact'
produces:
- application/json
responses:
@@ -5867,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:
@@ -6401,6 +7166,90 @@
summary: 鏇存柊鏁呴殰绫诲埆
tags:
- 鏁呴殰绫诲埆绠$悊
+ /api/file/add:
+ post:
+ parameters:
+ - description: 鏉ユ簮id
+ in: formData
+ name: sourceId
+ required: true
+ type: integer
+ - description: 闄勪欢鏉ユ簮
+ in: formData
+ name: sourceType
+ required: true
+ type: string
+ - description: 涓婁紶鏂囦欢
+ in: formData
+ name: file
+ required: true
+ type: file
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ $ref: '#/definitions/contextx.Response'
+ summary: 娣诲姞闄勪欢
+ tags:
+ - 闄勪欢绠$悊
+ /api/file/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/file/download:
+ 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/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:
post:
parameters:
@@ -6420,14 +7269,15 @@
summary: 娣诲姞璺熻繘璁板綍
tags:
- FollowRecord
- /api/followRecord/delete/{id}:
+ /api/followRecord/delete:
delete:
parameters:
- - description: 璺熻繘璁板綍id
- in: path
- name: id
+ - description: 鏌ヨ鍙傛暟
+ in: body
+ name: object
required: true
- type: string
+ schema:
+ $ref: '#/definitions/request.DeleteFollowRecord'
produces:
- application/json
responses:
@@ -6571,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:
@@ -6841,14 +7994,15 @@
summary: 娣诲姞宸ュ崟
tags:
- OrderManage
- /api/orderManage/delete/{id}:
+ /api/orderManage/delete:
delete:
parameters:
- description: 鏌ヨ鍙傛暟
- in: path
- name: id
+ in: body
+ name: object
required: true
- type: integer
+ schema:
+ $ref: '#/definitions/request.DeleteOrderManage'
produces:
- application/json
responses:
@@ -7304,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:
@@ -8439,14 +9652,15 @@
summary: 娣诲姞閿�鍞嚎绱�
tags:
- SalesLeads
- /api/salesLeads/delete/{id}:
+ /api/salesLeads/delete:
delete:
parameters:
- description: 鏌ヨ鍙傛暟
- in: path
- name: id
+ in: body
+ name: object
required: true
- type: integer
+ schema:
+ $ref: '#/definitions/request.DeleteSalesLeads'
produces:
- application/json
responses:
@@ -8479,6 +9693,25 @@
$ref: '#/definitions/response.SalesLeadsResponse'
type: object
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:
@@ -8895,9 +10128,9 @@
description: OK
schema:
$ref: '#/definitions/contextx.Response'
- summary: 娣诲姞鏈嶅姟鍚堝悓鏀舵璁″垝
+ summary: 娣诲姞鏀舵璁″垝
tags:
- - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+ - 鏀舵璁″垝绠$悊
/api/serviceCollectionPlan/delete/{id}:
delete:
parameters:
@@ -8913,9 +10146,9 @@
description: OK
schema:
$ref: '#/definitions/contextx.Response'
- summary: 鍒犻櫎鏈嶅姟鍚堝悓鏀舵璁″垝
+ summary: 鍒犻櫎鏀舵璁″垝
tags:
- - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+ - 鏀舵璁″垝绠$悊
/api/serviceCollectionPlan/list:
get:
parameters:
@@ -8937,9 +10170,9 @@
$ref: '#/definitions/model.ServiceCollectionPlan'
type: array
type: object
- summary: 鑾峰彇鏈嶅姟鍚堝悓鏀舵璁″垝鍒楄〃
+ summary: 鑾峰彇鏀舵璁″垝鍒楄〃
tags:
- - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+ - 鏀舵璁″垝绠$悊
/api/serviceCollectionPlan/update:
put:
parameters:
@@ -8956,9 +10189,9 @@
description: OK
schema:
$ref: '#/definitions/contextx.Response'
- summary: 鏇存柊鏈嶅姟鍚堝悓鏀舵璁″垝
+ summary: 鏇存柊鏀舵璁″垝
tags:
- - 鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊
+ - 鏀舵璁″垝绠$悊
/api/serviceContract/add:
post:
parameters:
@@ -8978,14 +10211,15 @@
summary: 娣诲姞鏈嶅姟鍚堝悓
tags:
- ServiceContract
- /api/serviceContract/delete/{id}:
+ /api/serviceContract/delete:
delete:
parameters:
- description: 鏌ヨ鍙傛暟
- in: path
- name: id
+ in: body
+ name: object
required: true
- type: integer
+ schema:
+ $ref: '#/definitions/request.DeleteServiceContract'
produces:
- application/json
responses:
@@ -9017,7 +10251,7 @@
data:
$ref: '#/definitions/response.ServiceContractsResponse'
type: object
- summary: 鐢熸垚璁″垝鍒楄〃
+ summary: 鏈嶅姟鍚堝悓鍒楄〃
tags:
- ServiceContract
/api/serviceContract/update:
@@ -9204,14 +10438,15 @@
summary: 娣诲姞鏈嶅姟璐圭鐞�
tags:
- ServiceFeeManage
- /api/serviceFeeManage/delete/{id}:
+ /api/serviceFeeManage/delete:
delete:
parameters:
- description: 鏌ヨ鍙傛暟
- in: path
- name: id
+ in: body
+ name: object
required: true
- type: integer
+ schema:
+ $ref: '#/definitions/request.DeleteServiceFeeManage'
produces:
- application/json
responses:
@@ -9284,14 +10519,15 @@
summary: 娣诲姞鏈嶅姟璺熻繘
tags:
- ServiceFollowup
- /api/serviceFollowup/delete/{id}:
+ /api/serviceFollowup/delete:
delete:
parameters:
- description: 鏌ヨ鍙傛暟
- in: path
- name: id
+ in: body
+ name: object
required: true
- type: integer
+ schema:
+ $ref: '#/definitions/request.DeleteServiceFollowup'
produces:
- application/json
responses:
@@ -9383,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:
@@ -9420,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:
@@ -10132,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