1
This commit is contained in:
parent
bd70ebfecb
commit
a90a911321
@ -49,22 +49,17 @@ class PayController {
|
||||
|
||||
public function aggregatePay()
|
||||
{
|
||||
if (SERVER_ENV == _ONLINE) {
|
||||
if (!phpcommon\isValidSessionId(
|
||||
$_REQUET['account_id'],
|
||||
$_REQUET['session_id']
|
||||
)) {
|
||||
echo json_encode(array(
|
||||
'errcode' => 100,
|
||||
'errmsg' => 'session无效',
|
||||
));
|
||||
die();
|
||||
}
|
||||
}
|
||||
$openid = 'ouPbc4gvHQ_eRRtPKb6BhHGpheB8';
|
||||
if (isset($_REQUEST['account_id'])) {
|
||||
$openid = phpcommon\extractOpenId($_REQUEST['account_id']);
|
||||
if (!phpcommon\isValidSessionId(
|
||||
$_REQUET['account_id'],
|
||||
$_REQUET['session_id']
|
||||
)) {
|
||||
echo json_encode(array(
|
||||
'errcode' => 100,
|
||||
'errmsg' => 'session无效',
|
||||
));
|
||||
die();
|
||||
}
|
||||
$openid = phpcommon\extractOpenId($_REQUEST['account_id']);
|
||||
$orderid = $this->getOrderId();
|
||||
if (empty($orderid)) {
|
||||
die();
|
||||
|
Loading…
x
Reference in New Issue
Block a user