|
|
|
@ -6,7 +6,6 @@
|
|
|
|
|
#JD_REGION="cn-north-1"
|
|
|
|
|
#JD_PACK_ID=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_JD_ACCOUNT="https://uc.jdcloud.com/account/accesskey"
|
|
|
|
|
|
|
|
|
|
_JD_PROD="clouddnsservice"
|
|
|
|
@ -21,7 +20,6 @@ _JD_PACK_FREE=0
|
|
|
|
|
_JD_PACK_ENTERPRISE=1
|
|
|
|
|
_JD_PACK_PREMIUM=2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## Public functions #####################
|
|
|
|
|
|
|
|
|
|
#Usage: dns_myapi_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
|
|
|
|
@ -92,7 +90,6 @@ dns_jd_add() {
|
|
|
|
|
return 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dns_jd_rm() {
|
|
|
|
|
fulldomain=$1
|
|
|
|
|
txtvalue=$2
|
|
|
|
@ -138,7 +135,6 @@ dns_jd_rm() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################### Private functions below ##################################
|
|
|
|
|
|
|
|
|
|
_get_root() {
|
|
|
|
@ -180,7 +176,6 @@ _get_root() {
|
|
|
|
|
return 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#method uri qstr data
|
|
|
|
|
jd_rest() {
|
|
|
|
|
mtd="$1"
|
|
|
|
@ -302,4 +297,3 @@ jd_rest() {
|
|
|
|
|
|
|
|
|
|
return "$_ret"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|