|
@@ -6,6 +6,7 @@ namespace App\Http\Utils\TaoBao;
|
|
|
|
|
|
use App\Exceptions\TaobaoException;
|
|
|
use App\Http\Utils\BaseUtil;
|
|
|
+use App\Http\Utils\LoggerFactoryUtil;
|
|
|
use ETaobao\Factory;
|
|
|
/**
|
|
|
* 淘宝联盟工具类
|
|
@@ -168,6 +169,8 @@ class TaobaoLianMengUtil extends BaseUtil
|
|
|
"adzone_id"=>"70362850341"
|
|
|
];
|
|
|
$res = $app->tpwd->httpPost("taobao.tbk.tpwd.convert",$params);
|
|
|
+ $instance = new LoggerFactoryUtil(TaobaoLianMengUtil::class);
|
|
|
+ $instance->info("淘宝返回数据:".json_encode($res));
|
|
|
$res = json_decode(json_encode($res),true);
|
|
|
if(isset($res["code"])){
|
|
|
throw new TaobaoException($res["sub_msg"]);
|