Refresh audience/admin UX, ntfy/track, social paths, and replace ebook chapters with the expanded catalog; keep local SQLite and one-off probe scripts out of tree. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
348 B
Python
17 lines
348 B
Python
from pydantic import BaseModel, Field
|
||
|
||
|
||
class OrderBody(BaseModel):
|
||
book_id: str = "default"
|
||
# 0=现网 1=沙箱;None=跟随服务端 WX_PAY_ENV
|
||
env: int | None = Field(default=None, ge=0, le=1)
|
||
|
||
|
||
class StatusBody(BaseModel):
|
||
book_id: str = "default"
|
||
out_trade_no: str
|
||
|
||
|
||
class DevConfirmBody(BaseModel):
|
||
out_trade_no: str
|