Merge remote-tracking branch 'hsayi/dev/feat/partner1.5_20231106' into dev/feat/partner1.5_20231106
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.cool.store.controller;
|
||||
|
||||
import com.cool.store.dto.sms.SendInvateMsgDTO;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.SmsService;
|
||||
import com.cool.store.vo.role.RolePageVO;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @Author: young.yu
|
||||
* @Date: 2023-10-20 13:49
|
||||
* @Description:
|
||||
*/
|
||||
@RestController
|
||||
@Slf4j
|
||||
@RequestMapping("/sms")
|
||||
@Api(tags = "短信发送")
|
||||
public class SmsController {
|
||||
|
||||
@Autowired
|
||||
private SmsService smsService;
|
||||
|
||||
@PostMapping("/invate")
|
||||
@ApiOperation("招商邀请短信")
|
||||
public ResponseResult sendInvateMsg(@RequestBody SendInvateMsgDTO sendInvateMsgDTO){
|
||||
smsService.sendInvateMsg(sendInvateMsgDTO);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user