| | |
| | | definitions: |
| | | constvar.CurrencyType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | type: integer |
| | | x-enum-comments: |
| | | CurrencyTypeCNY: 人民币 |
| | | CurrencyTypeEUR: 欧元 |
| | | CurrencyTypeGBP: 英镑 |
| | | CurrencyTypeUSD: 美元 |
| | | x-enum-varnames: |
| | | - CurrencyTypeCNY |
| | | - CurrencyTypeUSD |
| | | - CurrencyTypeEUR |
| | | - CurrencyTypeGBP |
| | | constvar.SalesStatus: |
| | | enum: |
| | | - 1 |
| | |
| | | $ref: '#/definitions/model.Province' |
| | | type: array |
| | | type: object |
| | | model.Currency: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.CustomerServiceSheet: |
| | | properties: |
| | | handleStatus: |
| | |
| | | country_id: |
| | | type: integer |
| | | currency: |
| | | $ref: '#/definitions/constvar.CurrencyType' |
| | | type: integer |
| | | detail_address: |
| | | type: string |
| | | disadvantages: |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Status: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.SubOrder: |
| | | properties: |
| | | client: |
| | |
| | | name: |
| | | description: 国家名称 |
| | | type: string |
| | | type: object |
| | | request.AddCurrency: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddCustomerServiceSheet: |
| | | properties: |
| | |
| | | description: 国家名称 |
| | | type: string |
| | | type: object |
| | | request.UpdateCurrency: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateCurrencys: |
| | | properties: |
| | | currency: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateCurrency' |
| | | type: array |
| | | required: |
| | | - currency |
| | | type: object |
| | | request.UpdateCustomerServiceSheet: |
| | | properties: |
| | | handleStatus: |
| | |
| | | $ref: '#/definitions/model.Country' |
| | | type: array |
| | | type: object |
| | | response.CurrencyResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Currency' |
| | | type: array |
| | | type: object |
| | | response.DataResponse: |
| | | properties: |
| | | accountId: |
| | |
| | | description: 国家数据 |
| | | items: |
| | | $ref: '#/definitions/model.Country' |
| | | type: array |
| | | currency: |
| | | description: 币种 |
| | | items: |
| | | $ref: '#/definitions/model.Currency' |
| | | type: array |
| | | department: |
| | | description: 部门 |
| | |
| | | description: 工单类型 |
| | | items: |
| | | $ref: '#/definitions/model.OrderType' |
| | | type: array |
| | | possibility: |
| | | description: 可能性 |
| | | items: |
| | | $ref: '#/definitions/model.Possibility' |
| | | type: array |
| | | province: |
| | | description: 省份数据 |
| | |
| | | description: 解决率 |
| | | items: |
| | | $ref: '#/definitions/model.SolveRate' |
| | | type: array |
| | | status: |
| | | description: 状态 |
| | | items: |
| | | $ref: '#/definitions/model.Status' |
| | | type: array |
| | | timely_rate: |
| | | description: 及时率 |
| | |
| | | summary: 更新国家 |
| | | tags: |
| | | - Country |
| | | /api/currency/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddCurrency' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加币种 |
| | | tags: |
| | | - Currency |
| | | /api/currency/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: |
| | | - Currency |
| | | /api/currency/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.CurrencyResponse' |
| | | type: object |
| | | summary: 获取币种列表 |
| | | tags: |
| | | - Currency |
| | | /api/currency/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateCurrencys' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新币种 |
| | | tags: |
| | | - Currency |
| | | /api/customerServiceSheet/add: |
| | | post: |
| | | parameters: |