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