Authored by 周少峰

call test api

... ... @@ -255,8 +255,7 @@ class CartData
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
// return Yohobuy::get(Yohobuy::API_URL, $param);
return Yohobuy::get('http://devapi.yoho.cn:58078', $param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
... ... @@ -430,8 +429,7 @@ class CartData
}
$param['remark'] = $remark;
$param['client_secret'] = Sign::getSign($param);
// return Yohobuy::get(Yohobuy::API_URL, $param, false, false, 10, $userAgent);
return Yohobuy::get('http://devapi.yoho.cn:58078', $param, false, false, 10, $userAgent);
return Yohobuy::get(Yohobuy::API_URL, $param, false, false, 10, $userAgent);
}
/**
... ...
... ... @@ -41,8 +41,7 @@ class OrderData
$param['uid'] = $uid;
$param['order_code'] = $orderCode;
$param['client_secret'] = Sign::getSign($param);
// return Yohobuy::get(Yohobuy::API_URL, $param);
return Yohobuy::get('http://devapi.yoho.cn:58078', $param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
... ...