Browse Source

fix format

dnsconf
neilpang 6 years ago
parent
commit
57b16e3ac2
  1. 6
      dnsapi/dns_jd.sh

6
dnsapi/dns_jd.sh

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