域名注册过程中删除传入域名注册商到业务参数
This commit is contained in:
parent
6236b645b1
commit
e9fb158101
@ -756,7 +756,6 @@ def create_domain_order(domain, period=1, payment_method='balance', domain_owner
|
|||||||
"period": period,
|
"period": period,
|
||||||
"domain_owner": domain_owner,
|
"domain_owner": domain_owner,
|
||||||
"yearly_price": yearly_price,
|
"yearly_price": yearly_price,
|
||||||
"domain_registrar": "西部数码",
|
|
||||||
"auto_renew": False,
|
"auto_renew": False,
|
||||||
"whois_protection": True,
|
"whois_protection": True,
|
||||||
# 注册域名所需参数
|
# 注册域名所需参数
|
||||||
@ -827,11 +826,10 @@ def create_domain_renew_order(**kwargs):
|
|||||||
# 构建业务参数
|
# 构建业务参数
|
||||||
biz_params = {
|
biz_params = {
|
||||||
"domain": domain_pg.domain,
|
"domain": domain_pg.domain,
|
||||||
"domain_name": domain, # 域名记录的名称
|
"domain_name": domain,
|
||||||
"renewal_years": renewal_years,
|
"renewal_years": renewal_years,
|
||||||
"yearly_price": yearly_price,
|
"yearly_price": yearly_price,
|
||||||
"domain_owner": domain_pg.domain_owner,
|
"domain_owner": domain_pg.domain_owner,
|
||||||
"domain_registrar": domain_pg.domain_registrar or "西部数码",
|
|
||||||
# 续费域名所需参数
|
# 续费域名所需参数
|
||||||
"year": renewal_years,
|
"year": renewal_years,
|
||||||
"expire_date": None,
|
"expire_date": None,
|
||||||
@ -879,7 +877,6 @@ def register_domain_from_order(order_name):
|
|||||||
period = biz_params.get("period", 1)
|
period = biz_params.get("period", 1)
|
||||||
domain_owner = biz_params.get("domain_owner")
|
domain_owner = biz_params.get("domain_owner")
|
||||||
yearly_price = biz_params.get("yearly_price", 0)
|
yearly_price = biz_params.get("yearly_price", 0)
|
||||||
domain_registrar = biz_params.get("domain_registrar", "西部数码")
|
|
||||||
auto_renew = biz_params.get("auto_renew", False)
|
auto_renew = biz_params.get("auto_renew", False)
|
||||||
whois_protection = biz_params.get("whois_protection", True)
|
whois_protection = biz_params.get("whois_protection", True)
|
||||||
|
|
||||||
@ -916,7 +913,6 @@ def register_domain_from_order(order_name):
|
|||||||
"status": "Active",
|
"status": "Active",
|
||||||
"price": yearly_price,
|
"price": yearly_price,
|
||||||
"period": period,
|
"period": period,
|
||||||
"domain_registrar": domain_registrar,
|
|
||||||
"domain_owner": domain_owner,
|
"domain_owner": domain_owner,
|
||||||
"auto_renew": auto_renew,
|
"auto_renew": auto_renew,
|
||||||
"whois_protection": whois_protection,
|
"whois_protection": whois_protection,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user