1
This commit is contained in:
parent
014f3d26f7
commit
38978a6eb7
@ -463,7 +463,7 @@ class ShopController extends BaseAuthedController {
|
|||||||
public function buyGoodsDirect() {
|
public function buyGoodsDirect() {
|
||||||
error_log('buyGoodsDirect:' . json_encode($_REQUEST));
|
error_log('buyGoodsDirect:' . json_encode($_REQUEST));
|
||||||
$cbService = new CallBackService();
|
$cbService = new CallBackService();
|
||||||
$action = 'inappPurchase';
|
$action = 'outappPurchase';
|
||||||
$cbService->dispatch($action);
|
$cbService->dispatch($action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,6 +175,8 @@ class ToolsController extends BaseController {
|
|||||||
'c' => 'Callback',
|
'c' => 'Callback',
|
||||||
'a' => 'dispatch',
|
'a' => 'dispatch',
|
||||||
'action' => 'outappPurchase',
|
'action' => 'outappPurchase',
|
||||||
|
//'c' => 'Shop',
|
||||||
|
//'a' => 'buyGoodsDirect',
|
||||||
'account_id' => getReqVal('account_id', ''),
|
'account_id' => getReqVal('account_id', ''),
|
||||||
'order_id' => $orderInfo['order_id'],
|
'order_id' => $orderInfo['order_id'],
|
||||||
'status' => 9,
|
'status' => 9,
|
||||||
|
@ -18,9 +18,9 @@ class CallBackService extends BaseService {
|
|||||||
|
|
||||||
public function dispatch($action)
|
public function dispatch($action)
|
||||||
{
|
{
|
||||||
error_log("CallbackController Begin");
|
error_log("CallbackController Begin " . $action . ' ' . json_encode($_REQUEST));
|
||||||
if (key_exists($action, $this->handlers)) {
|
if (key_exists($action, $this->handlers)) {
|
||||||
error_log("Callback:dispatch____". json_encode($_REQUEST));
|
error_log("Callback:dispatch____". $action . ' ' . json_encode($_REQUEST));
|
||||||
$this->internalDispatch($this->handlers[$action]);
|
$this->internalDispatch($this->handlers[$action]);
|
||||||
} else {
|
} else {
|
||||||
myself()->_rspErr(500, 'not found');
|
myself()->_rspErr(500, 'not found');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user