| | |
| | | |
| | | /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */ |
| | | async createOrUpdatePromoter(body: CreateOrUpdatePromoterInput, options?: RequestConfig) { |
| | | return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', { |
| | | return this.request<CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | |
| | | /** 备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | export interface CreateOrUpdatePromoterOutput { |
| | | /** Id */ |
| | | id?: string; |
| | | /** IdNumber */ |
| | | idNumber?: string; |
| | | } |