Commit af2a9427 authored by 刘小敏's avatar 刘小敏

fix(xhs): 更新转化回传API基础地址与路径

parent 9a12d2fd
......@@ -21,15 +21,15 @@ use app\admin\model\shopro\xhs\ConversionLog as ConversionLogModel;
class ConversionService
{
// API 基础地址(以小红书开放平台官方文档为准)
const API_BASE = 'https://ad-market.xiaohongshu.com/open/api';
// const API_BASE = 'https://adapi.xiaohongshu.com';
// const API_BASE = 'https://ad-market.xiaohongshu.com/open/api';
const API_BASE = 'https://adapi.xiaohongshu.com';
// Token 接口
const TOKEN_URL = '/oauth/token';
// 转化回传接口(具体路径以开放平台文档为准)
const CONVERSION_URL = '/conversion/upload';
// const CONVERSION_URL = '/api/open/conversion';
// const CONVERSION_URL = '/conversion/upload';
const CONVERSION_URL = '/api/open/conversion';
// Token 缓存 key 前缀
const TOKEN_CACHE_KEY = 'shopro:xhs:access_token';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment