移动端适配
All checks were successful
Deploy to Server / deploy (push) Successful in 26s

This commit is contained in:
jeremygan2021
2026-02-23 18:01:56 +08:00
parent 52b16911b1
commit 3f363dbd8e
3 changed files with 190 additions and 162 deletions

View File

@@ -17,7 +17,7 @@ def send_sms(phone_number, template_code, template_params):
"phone_number": phone_number,
"template_code": template_code,
"sign_name": SIGN_NAME,
"additionalProp1": template_params
"template_params": template_params
}
headers = {
"Content-Type": "application/json",
@@ -113,7 +113,7 @@ def notify_user_activity_signup_success(order, signup):
user_nick = order.wechat_user.nickname
# 2. unit_name (Activity Title)
unit_name = signup.activity.title
unit_name = f"{signup.activity.title}"
# 3. time
start_time = signup.activity.start_time