diff --git a/crmeb/app/adminapi/controller/v1/setting/SystemNotification.php b/crmeb/app/adminapi/controller/v1/setting/SystemNotification.php index df61f9602..7af93170b 100644 --- a/crmeb/app/adminapi/controller/v1/setting/SystemNotification.php +++ b/crmeb/app/adminapi/controller/v1/setting/SystemNotification.php @@ -86,6 +86,7 @@ class SystemNotification extends AuthController ['wechat_id', ''], ['routine_id', ''], ['mark', ''], + ['sms_id', ''], ]); if (!$data['id']) return app('json')->fail(100100); if ($this->services->saveData($data)) { diff --git a/crmeb/app/services/message/SystemNotificationServices.php b/crmeb/app/services/message/SystemNotificationServices.php index aa2298320..b7db99f7a 100644 --- a/crmeb/app/services/message/SystemNotificationServices.php +++ b/crmeb/app/services/message/SystemNotificationServices.php @@ -170,6 +170,7 @@ class SystemNotificationServices extends BaseServices $update['name'] = $data['name']; $update['title'] = $data['title']; $update['is_sms'] = $data['is_sms']; + $update['sms_id'] = $data['sms_id']; $res = $this->dao->update((int)$id, $update); break; case 'is_wechat': diff --git a/crmeb/app/services/user/UserServices.php b/crmeb/app/services/user/UserServices.php index 5160a1ab6..5d8528682 100644 --- a/crmeb/app/services/user/UserServices.php +++ b/crmeb/app/services/user/UserServices.php @@ -628,6 +628,9 @@ class UserServices extends BaseServices } $item['labels'] = $userlabel[$item['uid']] ?? ''; $item['isMember'] = $item['is_money_level'] > 0 ? 1 : 0; + if (strpos($item['avatar'], '/statics/system_images/') !== false) { + $item['avatar'] = set_file_url($item['avatar']); + } } }