新增查询加密后的明文信息接口,新增加密视频会议相关信息方法
This commit is contained in:
+15
-5
@@ -4,12 +4,9 @@ import com.ruoyi.common.annotation.Anonymous;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SmsSendRecord;
|
||||
import com.ruoyi.wisdomarbitrate.mapper.sendrecord.SmsRecordMapper;
|
||||
import com.ruoyi.wisdomarbitrate.service.sendrecord.ShortMessageService;
|
||||
import com.ruoyi.wisdomarbitrate.service.shortmessage.ShortMessageService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@@ -46,4 +43,17 @@ public class ShortMessageController {
|
||||
}
|
||||
return AjaxResult.error("发送失败");
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询UID好的密钥
|
||||
*/
|
||||
@Anonymous
|
||||
@GetMapping("/getEncryptInfoByid")
|
||||
public Object getEncryptInfoByUid(@RequestParam(name = "id",required = true) String id) {
|
||||
if (id != null) {
|
||||
Object result = shortMessageService.getEncryptInfoByUid(id);
|
||||
return result;
|
||||
}
|
||||
return AjaxResult.error("查询失败");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user