Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘小敏
loveisland
Commits
af2a9427
Commit
af2a9427
authored
Jul 22, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(xhs): 更新转化回传API基础地址与路径
parent
9a12d2fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ConversionService.php
addons/shopro/service/xhs/ConversionService.php
+4
-4
No files found.
addons/shopro/service/xhs/ConversionService.php
View file @
af2a9427
...
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment