REQ-2481: 设置模版中IM的发送优先级

This commit is contained in:
yanglin 2024-05-28 15:42:52 +08:00
parent 144267c3cb
commit 6108d453b4

View File

@ -112,7 +112,7 @@ public class PrivateMessageController {
@PostMapping("/getPhoneByPersonId")
public Object getPhoneByPersonId(@RequestParam("phoneId") String phoneId) {
Long personId = personService.getPersonIdByPhone(phoneId);
Long personId = personService.getPersonIdByPhone(phoneId).orElse(null);
return CommonResponse.success(personId);
}