1
This commit is contained in:
parent
c5293c8884
commit
9017463ff0
@ -20,7 +20,7 @@ class OutAppPurchase {
|
||||
|
||||
public function process()
|
||||
{
|
||||
error_log("buyGoodsDirect --- " . json_encode($_REQUEST));
|
||||
error_log("OutAppPurchase --- " . json_encode($_REQUEST));
|
||||
|
||||
// let repdata = {
|
||||
// account_id: string
|
||||
@ -202,25 +202,4 @@ class OutAppPurchase {
|
||||
}
|
||||
}
|
||||
|
||||
private function _rspOk()
|
||||
{
|
||||
echo json_encode(array(
|
||||
'errcode' => 0,
|
||||
'errmsg' => "callback success",
|
||||
));
|
||||
}
|
||||
|
||||
private function _rspErr($errcode, $errmsg)
|
||||
{
|
||||
if (SERVER_ENV != _ONLINE) {
|
||||
error_log(json_encode(array(
|
||||
'errcode' => $errcode,
|
||||
'errmsg' => $errmsg,
|
||||
)));
|
||||
}
|
||||
echo json_encode(array(
|
||||
'errcode' => $errcode,
|
||||
'errmsg' => $errmsg,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user