six_003
This commit is contained in:
@@ -13,7 +13,7 @@ class weiPay服务商电子发票(BaseModel):
|
||||
# demo_联合类型: Literal["xiao", "zizi"] = Field(..., description="描述")
|
||||
|
||||
def model_post_init(self, __context):
|
||||
print("初始化完成,自动调用 model_post_init")
|
||||
pass
|
||||
|
||||
def 获取开通服务商电子发票能力邀请链接(self):
|
||||
pass
|
||||
@@ -23,16 +23,16 @@ class weiPay服务商电子发票(BaseModel):
|
||||
path="/v3/new-tax-control-fapiao/fapiaomerchant/getspinviteurl",
|
||||
query={
|
||||
"operation_type": "AUTH_BINDING",
|
||||
"fapiao_mode": ["TENCENT_DIGITAL_TAX"], # 【开票模式】 邀请商户开通服务商电子发票的可选开票模式
|
||||
"fapiao_mode": ["TENCENT_DIGITAL_TAX"], # 【开票模式】 邀请商户开通服务商电子发票的可选开票模式
|
||||
"fapiao_ability_type_list": ["BASE_ABILITY"],
|
||||
"invite_code": "code_20260805_123", # 必填 【服务商邀请code】 服务商邀请的唯一标识,由服务商生成,可根据邀请code查询邀请开通情况
|
||||
# "sub_mchid": "1700383419"
|
||||
"taxpayer_id":"91321202MAE608K31Q"
|
||||
"taxpayer_id": "91321202MAE608K31Q"
|
||||
}
|
||||
)
|
||||
print(uri)
|
||||
headers = wechatPay(payment=six六果服务商支付参数).构造签名串(uri=str(uri), method="GET")
|
||||
headers.update({"Wechatpay-Serial":"1880A972F4400AF653A108F5F0C7A71585A4338E"})
|
||||
headers.update({"Wechatpay-Serial": "1880A972F4400AF653A108F5F0C7A71585A4338E"})
|
||||
getData = requests.get(url=uri, headers=headers)
|
||||
print(getData.text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user