main #2

Merged
jingrow merged 250 commits from main into v1 2026-01-13 22:45:50 +08:00
Showing only changes of commit e9fb158101 - Show all commits

View File

@ -756,7 +756,6 @@ def create_domain_order(domain, period=1, payment_method='balance', domain_owner
"period": period,
"domain_owner": domain_owner,
"yearly_price": yearly_price,
"domain_registrar": "西部数码",
"auto_renew": False,
"whois_protection": True,
# 注册域名所需参数
@ -827,11 +826,10 @@ def create_domain_renew_order(**kwargs):
# 构建业务参数
biz_params = {
"domain": domain_pg.domain,
"domain_name": domain, # 域名记录的名称
"domain_name": domain,
"renewal_years": renewal_years,
"yearly_price": yearly_price,
"domain_owner": domain_pg.domain_owner,
"domain_registrar": domain_pg.domain_registrar or "西部数码",
# 续费域名所需参数
"year": renewal_years,
"expire_date": None,
@ -879,7 +877,6 @@ def register_domain_from_order(order_name):
period = biz_params.get("period", 1)
domain_owner = biz_params.get("domain_owner")
yearly_price = biz_params.get("yearly_price", 0)
domain_registrar = biz_params.get("domain_registrar", "西部数码")
auto_renew = biz_params.get("auto_renew", False)
whois_protection = biz_params.get("whois_protection", True)
@ -916,7 +913,6 @@ def register_domain_from_order(order_name):
"status": "Active",
"price": yearly_price,
"period": period,
"domain_registrar": domain_registrar,
"domain_owner": domain_owner,
"auto_renew": auto_renew,
"whois_protection": whois_protection,