当前位置: 首页 > 帮助中心首页 > 代理问题

星外系统新网接口改造

星外系统修改

第一步:

修改网站目录下的Global.asa文件,将下列代码

Application("API2Check")="http://api.xinnet.com/domain/api.gb?method=check"

Application("API2Register")="http://api.xinnet.com/domain/api.gb?method=Register"

Application("API2Renew")="http://api.xinnet.com/domain/api.gb?method=DomainRenew"

Application("API2GetProductKey")="http://api.xinnet.com/domain/api.gb?method=GetProductKey"

Application("API2ChangeProductKey")="http://api.xinnet.com/domain/api.gb?method=ChangeProductKey"

修改为:

Application("API2Check")="http://api.22.cn/domain/api.aspx?method=check"

Application("API2Register")="http://api.22.cn/domain/api.aspx?method=Register"

Application("API2Renew")="http://api.22.cn/domain/api.aspx?method=DomainRenew"

Application("API2GetProductKey")="http://api.22.cn/domain/api.aspx?method=GetProductKey"

Application("API2ChangeProductKey")="http://api.22.cn/domain/api.aspx?method=ChangeProductKey"

第二步:

修改文件 Inc-freehost-function/FreeHostDomain.asp

查找

dns1="dns-ch.xinnet.com"

dns2="dns-ch2.xinnet.com"

将其修改为:

dns1="dns1.everdns.com"

dns2="dns2.everdns.com"

第三步:

分别在adm,agent,user下的domainadm2.aspdns下的dnslogin.asp文件中

在文件最后添加

<script language="jscript" runat="server">
var utf8=function(str){
return encodeURIComponent(str);
}
</script>

elseif dsdom("Domain_API")=2 then

elseif dsdom("Domain_API")=3 then之间的代码替换为

urlD="http://www.everdns.com?domain="&utf8(dsdom("domain"))&"&pwd="&session("inipass")

第四步:

最后,在后台设置页面,新网接口处填写用户数字ID通过MD5加密后的API密码

  • 微信客服

    扫码咨询微信客服

    注册、续费更优惠

    公告、活动先知晓

    享受一对一专属服务

  • 客服QQ

  • 手机APP

    扫我安装22APP

  • 小程序

    爱名网微信小程序

  • 客服电话

    全国客服热线

    400-660-2522

  • 公众号

    关注爱名网服务号