Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
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
chenchuanwen
my-yaf-project
Commits
9506aa3b
Commit
9506aa3b
authored
Dec 28, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upd
parent
1b1bc006
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
OrderConfirmUtil.php
application/library/Order/OrderConfirmUtil.php
+3
-3
No files found.
application/library/Order/OrderConfirmUtil.php
View file @
9506aa3b
...
...
@@ -630,7 +630,7 @@ class OrderConfirmUtil {
$orderGoods
[
'order_id'
]
=
$orderId
;
$orderGoods
[
'goods_id'
]
=
$storeCart
[
'goodsId'
];
$orderGoods
[
'goods_name'
]
=
$storeCart
[
'goodsName'
];
$goods_datas
[]
=
$orderGoods
Dao
[
'goods_name'
];
$goods_datas
[]
=
$orderGoods
[
'goods_name'
];
$orderGoods
[
'goods_num'
]
=
$storeCart
[
'goodsNum'
];
$orderGoods
[
'goods_image'
]
=
$storeCart
[
'goodsImagePath'
];
$orderGoods
[
'snapshot_id'
]
=
(
isset
(
$storeCarts
[
'snapshot_id'
])
&&
$storeCarts
[
'snapshot_id'
])
?
$storeCarts
[
'snapshot_id'
]
:
\our\ApiConst
::
zero
;
...
...
@@ -710,7 +710,7 @@ class OrderConfirmUtil {
}
$orderModel
->
db
->
doCommit
();
//订单通过小程序表单提交过来
/*
if($formId && ($access_token = $this->getLitAccesstoken())) {
if
(
$formId
&&
(
$access_token
=
$this
->
getLitAccesstoken
()))
{
$settingDAO
=
\DAO\SettingModel
::
getInstance
();
$msg_tpl
=
$settingDAO
->
getListCache
(
array
(
'wxapp_order_create_tpl'
))[
'wxapp_order_create_tpl'
];
$goods_str
=
''
;
...
...
@@ -729,7 +729,7 @@ class OrderConfirmUtil {
));
$url
=
'https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token='
;
$result
=
$this
->
sendurl
(
$url
,
$access_token
,
$req_data
,
'post'
);
}
*/
}
$this
->
opCacheInfo
();
$this
->
pushMessage
();
return
array
(
'needPayFlag'
=>
$needPayFlag
,
'paySn'
=>
$paySn
);
...
...
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