From 006ebf451f2c5c0b7b88b9bb769f52177483cb94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Wed, 25 Oct 2023 18:30:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=AF=86=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E4=BB=8Etoken=E8=8E=B7=E5=8F=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerArchivesController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs index b501674..3bbe0c8 100644 --- a/24Hour/Controllers/Common/LawyerArchivesController.cs +++ b/24Hour/Controllers/Common/LawyerArchivesController.cs @@ -507,10 +507,10 @@ namespace _24Hour.Controllers.Common /// /// [HttpGet] - [HiddenApi] [Route("EncodeData")] - public Task> EncodeData(string str) + public Task> EncodeData() { + var str = $"{_userdata.cardId},{_userdata.name}"; Result result = new(); result.result = Convert.ToBase64String(Encoding.UTF8.GetBytes(str)); result.IsSucceed = true;