From 6ce0ebc2108829cee3eca0bf57f875c36bb543bf Mon Sep 17 00:00:00 2001 From: ping <1017253325@qq.com> Date: Tue, 12 Aug 2025 17:09:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E5=85=AC=E5=85=85=E5=80=BC=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- b/account/email_info.dspy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/b/account/email_info.dspy b/b/account/email_info.dspy index 770a4f2..af6b3eb 100644 --- a/b/account/email_info.dspy +++ b/b/account/email_info.dspy @@ -90,7 +90,9 @@ async def email_info(msg, indent=0): index = find_data.index("<") name = find_data[:index] if price and name: - mail_code = await sor.R('mail_code',{'mailcode':name,'del_flg':'0'}) + mail_code_sql = """SELECT * FROM mail_code WHERE LOCATE(mailcode, name) > 0 and del_flg = '0';""" + mail_code = await sor.sqlExe(mail_code_sql, {}) + # mail_code = await sor.R('mail_code',{'mailcode':name,'del_flg':'0'}) date = await get_business_date(sor=None) recharge_log = {'customerid': mail_code[0]['customer_id'], 'recharge_amt': price, 'action': 'RECHARGE', 'recharge_path': '2', 'recharge_date': date}