Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
cailing
9 years ago
Commit
8f97d15ca3b96f99eb07925a995435ae4097411a
1 parent
34164d49
再次购买修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
library/LibModels/Wap/Home/OrderData.php
yohobuy/m.yohobuy.com/application/controllers/Home.php
library/LibModels/Wap/Home/OrderData.php
View file @
8f97d15
...
...
@@ -174,7 +174,7 @@ class OrderData
$param
=
Yohobuy
::
param
();
$param
[
'method'
]
=
'app.Shopping.readd'
;
$param
[
'uid'
]
=
$uid
;
$param
[
'order
C
ode'
]
=
$orderCode
;
$param
[
'order
_c
ode'
]
=
$orderCode
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
8f97d15
...
...
@@ -10,7 +10,6 @@ use Plugin\Pay\weixin\JsApiPay;
use
Plugin\Pay\weixin\lib\WxPayUnifiedOrder
;
use
Plugin\Pay\weixin\lib\WxPayApi
;
use
Plugin\Pay\weixin\lib\WxPayConfig
;
use
LibModels\Wap\Home\OrderData
;
/**
* 个人中心相关的控制器
...
...
@@ -1054,6 +1053,8 @@ class HomeController extends AbstractAction
/* 判断订单信息是否存在 */
$orderDetail
=
OrderModel
::
orderDetail
(
$orderCode
,
$this
->
_uid
,
$this
->
_usession
);
$readd
=
OrderData
::
reAddData
(
$this
->
_uid
,
1606640307
);
print_r
(
$readd
);
if
(
empty
(
$orderDetail
))
{
$this
->
error
();
}
...
...
Please
register
or
login
to post a comment