|
@@ -576,7 +576,7 @@ public class TaPersonController extends BaseController {
|
576
|
576
|
}
|
577
|
577
|
|
578
|
578
|
@PutMapping("/wx/editPerson")
|
579
|
|
- public ResponseBean editWxConsultant(@RequestParam(required = false)String name,@RequestParam(required = false)String avatar,@RequestParam(required = false)String phone,HttpServletRequest request) {
|
|
579
|
+ public ResponseBean editWxConsultant(@RequestParam(required = false)String name,@RequestParam(required = false)String avatar,@RequestParam(required = false)String phone,@RequestParam(required = false)LocalDateTime birthday,HttpServletRequest request) {
|
580
|
580
|
ResponseBean responseBean = new ResponseBean();
|
581
|
581
|
String openid = getOpenId(request);
|
582
|
582
|
List<TaPerson> taPersons = taPersonService.getPersonsByOpenId(openid);
|
|
@@ -590,6 +590,9 @@ public class TaPersonController extends BaseController {
|
590
|
590
|
if (!StringUtils.isEmpty(avatar)){
|
591
|
591
|
person.setAvatarurl(avatar);
|
592
|
592
|
}
|
|
593
|
+ if (null != birthday){
|
|
594
|
+ person.setBirthday(birthday);
|
|
595
|
+ }
|
593
|
596
|
if (!StringUtils.isEmpty(phone)){
|
594
|
597
|
person.setTel(phone);
|
595
|
598
|
// person.setPhone(phone);
|