diff --git a/Src/Dlhis.Canteen/Voucher/Controllers/VouchersController.cs b/Src/Dlhis.Canteen/Voucher/Controllers/VouchersController.cs
index 47333331..37017576 100644
--- a/Src/Dlhis.Canteen/Voucher/Controllers/VouchersController.cs
+++ b/Src/Dlhis.Canteen/Voucher/Controllers/VouchersController.cs
@@ -105,6 +105,7 @@ public class VouchersController : ControllerBase
///
///
[HttpGet("balance/page")]
+ [IgnoreTenant]
public async Task> GetVoucherBalancePageAsync([FromQuery] VoucherBalancePageRequest request)
{
var srv = _namedResolver.GetService(request.Type.ToString() + "VoucherService");
diff --git a/Src/Dlhis.Canteen/Voucher/Services/Implements/BirthdayVoucherService.cs b/Src/Dlhis.Canteen/Voucher/Services/Implements/BirthdayVoucherService.cs
index 8761612e..4da30554 100644
--- a/Src/Dlhis.Canteen/Voucher/Services/Implements/BirthdayVoucherService.cs
+++ b/Src/Dlhis.Canteen/Voucher/Services/Implements/BirthdayVoucherService.cs
@@ -124,10 +124,14 @@ public class BirthdayVoucherService : BaseVoucherService, IVoucherService
try
{
- await _dingTalkApi.SendWorkMessageAsync(new JinkoSendWorkMessageRequest
+
+ await _dingTalkApi.SendMessageUrlAsync(new DingTalkMessageUrlRequest
{
- WorkCodes = new List { gainfo.Code },
- Content = "你好,生日快乐,为你发放了生日福利券,请到人脸系统查询 (仅允许在超市消费)"
+ MessageUrl = "dingtalk://dingtalkclient/page/link?url=https%3A%2F%2Fiam.jinkosolar.com%2Fsso%2Foidc1%2FdAuthorize%3Fclient_id%3DAPP104%26response_type%3Dcode%26redirect_uri%3Dhttps%3a%2f%2fface.jinkosolar.com%2fh5%2f%3fto%3dmyBirthdayCoupon",
+ PicUrl = "@lALOACZwe2Rk",
+ Title = "生日福利",
+ Text = gainfo.Name + "生日快乐!特意为你准备了一张生日消费券,点击下方链接去查看,快去超市选购心仪好物吧!",
+ UserCode = gainfo.Code
});
}
catch (Exception ex)