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
e9038e76
Commit
e9038e76
authored
Dec 28, 2018
by
testshenbd
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'linqing' of git.shenbd.com:qm-develop/shenbd into linqing
parents
72a32286
e5fde739
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
OrderConfirmUtil.php
application/library/Order/OrderConfirmUtil.php
+5
-5
No files found.
application/library/Order/OrderConfirmUtil.php
View file @
e9038e76
...
...
@@ -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
;
...
...
@@ -741,7 +741,7 @@ class OrderConfirmUtil {
* Date: 2018/12/27 0027
* Time: 下午 3:15
*/
private
function
getLitAccesstoken
(){
/*
private function getLitAccesstoken(){
$model_wx = \DAO\MbWxModel::getInstance();
$weixin = $model_wx->getOne('id,lit_appid,lit_appsecret,lit_accesstoken,lit_expirestime', 'id=1');
$access_token = '';
...
...
@@ -761,7 +761,7 @@ class OrderConfirmUtil {
$access_token = $weixin['lit_accesstoken'];
}
return $access_token;
}
}
*/
/**
* curl请求
...
...
@@ -770,7 +770,7 @@ class OrderConfirmUtil {
* @param $data
* @param $method
*/
private
function
sendurl
(
$url
,
$access_token
=
''
,
$data
=
''
,
$method
=
'get'
,
$header
=
''
)
{
/*
private function sendurl($url, $access_token = '', $data = '', $method = 'get', $header = '') {
//
if(strtolower($method)=='post') {
$curl = curl_init();
...
...
@@ -807,7 +807,7 @@ class OrderConfirmUtil {
$r = curl_exec($curl);
curl_close($curl);
return $r;
}
}
*/
public
function
pushMessage
(){
if
(
$this
->
pushMessageOrders
){
...
...
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