| | |
| | | |
| | | String API_PREFIX = "/client"; |
| | | String SAVE_SMS_RECORD = API_PREFIX + "/saveSmsRecord"; |
| | | String SEND_SMS_BY_OUT_CALL_NOT_CONNECT = API_PREFIX + "/sendSmsByOutCallNotConnect"; |
| | | String CREATE_OUT_CALL_ERROR_SEND_SMS = API_PREFIX + "/createOutCallErrorSendSms"; |
| | | |
| | | /** |
| | | * 保存短信发送记录 |
| | |
| | | @RequestParam("code")String code, |
| | | @RequestParam("msg")String msg, |
| | | @RequestParam("number")Integer number); |
| | | |
| | | /** |
| | | * 外呼未接通-发送短信 |
| | | * @param taskId |
| | | * @param time |
| | | * @return |
| | | */ |
| | | @GetMapping(SEND_SMS_BY_OUT_CALL_NOT_CONNECT) |
| | | String sendSmsByOutCallNotConnect(@RequestParam("taskId")String taskId, |
| | | @RequestParam("time")String time); |
| | | |
| | | /** |
| | | * 外呼任务创建失败发送短信提醒 |
| | | * @param msg 失败原因 |
| | | */ |
| | | @GetMapping(CREATE_OUT_CALL_ERROR_SEND_SMS) |
| | | void createOutCallErrorSendSms(@RequestParam("msg") String msg); |
| | | } |