New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 此处后端没有提供注释 POST /api/common/sms/smsChengLiYeNotify */ |
| | | export async function SmsChengLiYeNotify(options?: API.RequestConfig) { |
| | | return request<API.FriendlyResultIActionResult>('/api/common/sms/smsChengLiYeNotify', { |
| | | method: 'POST', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | /* eslint-disable */ |
| | | // API 更新时间: |
| | | // API 唯一标识: |
| | | import * as SmsAppService from './SmsAppService'; |
| | | import * as enterpriseEmployee from './enterpriseEmployee'; |
| | | import * as user from './user'; |
| | | import * as role from './role'; |
| | | import * as sms from './sms'; |
| | | import * as ocrUtils from './ocrUtils'; |
| | | import * as task from './task'; |
| | | import * as enterprise from './enterprise'; |
| | |
| | | import * as auth from './auth'; |
| | | import * as taskCheckReceive from './taskCheckReceive'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as sms from './sms'; |
| | | import * as menu from './menu'; |
| | | import * as fileUtils from './fileUtils'; |
| | | import * as syncDatabase from './syncDatabase'; |
| | | export default { |
| | | SmsAppService, |
| | | enterpriseEmployee, |
| | | user, |
| | | role, |
| | | sms, |
| | | ocrUtils, |
| | | task, |
| | | enterprise, |
| | |
| | | auth, |
| | | taskCheckReceive, |
| | | taskUser, |
| | | sms, |
| | | menu, |
| | | fileUtils, |
| | | syncDatabase, |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 诚立业短信平台回传通知 POST /api/common/sms/smsChengLiYeNotify */ |
| | | export async function smsChengLiYeNotify( |
| | | body: API.SmsChengLiYeNotifyCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/common/sms/smsChengLiYeNotify', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultIActionResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: IActionResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultImportEnterpriseEmployeesCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | workExperience?: string; |
| | | } |
| | | |
| | | type IActionResult = Record<string, any>; |
| | | |
| | | interface ImportEnterpriseEmployeesCommand { |
| | | /** Excel地址 */ |
| | | excelUrl?: string; |
| | |
| | | ids?: string[]; |
| | | status?: EnumUserStatus; |
| | | } |
| | | |
| | | type SmsChengLiYeNotifyCommand = Record<string, any>; |
| | | |
| | | interface SmsLoginCommand { |
| | | /** 手机号码 */ |