|
|
@@ -243,6 +243,7 @@ class Request {
|
|
|
if(account != 0 && hdId != 0){
|
|
|
options.url = url + parse({...data,'account':account,'hdId':hdId})
|
|
|
} else {
|
|
|
+ // console.log("-----get----- data: ", data);
|
|
|
// 判断data中有无account和hdId
|
|
|
if(data.account && data.hdId){
|
|
|
options.url = url + parse({...data})
|
|
|
@@ -265,6 +266,7 @@ class Request {
|
|
|
if(account != 0 && hdId != 0){
|
|
|
options.url = url+'?account='+account+'&hdId='+hdId
|
|
|
} else {
|
|
|
+ //console.log("-----post----- data: ", data);
|
|
|
// 判断data中有无account和hdId
|
|
|
if(data.account && data.hdId){
|
|
|
options.url = url + parse({...data, 'account':data.account, 'hdId':data.hdId})
|