Skip to content

Commit 9fbc96b

Browse files
Merge pull request #97 from kniglt12/main
feat: support custom sms content before sending
2 parents ef14018 + 58fc28e commit 9fbc96b

3 files changed

Lines changed: 192 additions & 218 deletions

File tree

src/api/sms/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import request from '../_request';
33

44
export default async function sendSms(data: SmsRequest): Promise<SmsResponse> {
55
const res: SmsResponse = await request({
6-
url: '/sms/',
6+
url: '/sms/raw',
77
method: 'POST',
88
data,
99
});
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
import { Step } from '@/constants/team';
21
import { HttpRes } from '../_httpResTemplate';
32

43
export interface SmsRequest {
5-
type: 'Accept' | 'Reject';
6-
current: Step;
7-
next: Step;
8-
time: string; // 笔试/面试/熬测时间
9-
place: string; // 地点
10-
meeting_id: string; // 在线面试的会议id
11-
rest: string; // 补充信息
12-
aids: string[]; // 简历id
4+
aid: string;
5+
content: string;
136
}
147

158
export type SmsResponse = HttpRes<object>;

0 commit comments

Comments
 (0)