Authored by 周少峰

remove api log, add address complete mobile

... ... @@ -12,7 +12,6 @@
namespace Api;
use WebPlugin\Cache;
use WebPlugin\UdpLog;
class Yohobuy
{
/* 正式环境 */
... ... @@ -176,7 +175,6 @@ class Yohobuy
if (!empty($data)) {
$url = self::httpBuildQuery($url, $data);
} //echo $url;
UdpLog::info($url);
/* 开启缓存的情况 */
if ($cache && USE_CACHE) {
// 先尝试获取一级缓存(master), 有数据则直接返回.
... ...
... ... @@ -1098,6 +1098,7 @@ class CartModel
$build['isSupport'] = $value['is_support'];
$build['zipCode'] = $value['zip_code'];
$build['mobile'] = $mobile;
$build['completeMobile'] = $value['mobile'];
$build['phoneCode'] = isset($phone[1]) ? $phone[0] : '';
$build['phoneNum'] = isset($phone[1]) ? $phone[1] : '';
$build['phone'] = $value['phone'];
... ...