voucher/wwwroot/api/my_vouchers.dspy

7 lines
334 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# my_vouchers.dspy — 客户「我的代金券」列表(本机构隔离,Tabular 契约 {total, rows})
user_id = await get_user()
if not user_id:
return {"widgettype": "Error",
"options": {"title": "Authorization Error", "message": "Please login", "timeout": 3}}
return await my_vouchers_api(request, params_kw)