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
dd5ce668
Commit
dd5ce668
authored
Jul 16, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(xhs): 修复查询订单使用id而非order_sn的问题
parent
57dc6106
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ConversionService.php
addons/shopro/service/xhs/ConversionService.php
+2
-2
No files found.
addons/shopro/service/xhs/ConversionService.php
View file @
dd5ce668
...
...
@@ -195,13 +195,13 @@ class ConversionService
}
try
{
$orderModel
=
\app\admin\model\shopro\order\Order
::
where
(
'
id
'
,
$orderId
)
->
find
();
$orderModel
=
\app\admin\model\shopro\order\Order
::
where
(
'
order_sn
'
,
$orderId
)
->
find
();
if
(
!
$orderModel
)
{
custom_log
(
'[xhs.context] 未找到订单, order_sn='
.
$orderId
,
0
,
'xhs_ad'
,
'warning'
);
return
$context
;
}
$items
=
\app\admin\model\shopro\order\OrderItem
::
where
(
'order_id'
,
$order
I
d
)
->
select
();
$items
=
\app\admin\model\shopro\order\OrderItem
::
where
(
'order_id'
,
$order
Model
->
i
d
)
->
select
();
$orderCount
=
0
;
$productId
=
''
;
...
...
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