| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */ |
| | | async createOrUpdatePromoter(body: API.CreateOrUpdatePromoterInput, options?: API.RequestConfig) { |
| | | return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | } |
| | | |
| | | export interface PhoneMesssageCodeLoginInput { |
| | |
| | | /** 客户资源 */ |
| | | customerResources?: string; |
| | | } |
| | | |
| | | export interface CreateOrUpdatePromoterInput { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 客户端用户Id 如有 */ |
| | | userId?: string; |
| | | /** ID */ |
| | | idNumber?: string; |
| | | /** 推广员 */ |
| | | name?: string; |
| | | /** 联系方式 */ |
| | | phoneNumber?: string; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | } |