diff --git a/Application/Sdk/Controller/SpendController.class.php b/Application/Sdk/Controller/SpendController.class.php index 9b0cb9ce..da04e41b 100644 --- a/Application/Sdk/Controller/SpendController.class.php +++ b/Application/Sdk/Controller/SpendController.class.php @@ -67,13 +67,11 @@ class SpendController extends Controller { 'game_id' => $game_id ])->order("id desc")->find(); $request = json_decode($pay_info['info'], true); - /* $file = file_get_contents ( "./Application/Sdk/OrderNo/" . $user_id . "-" . $game_id . ".txt" ); $request = json_decode ( think_decrypt ( $file ), true ); */ - $data = array( 'coin' => $request ['body'], - 'price' => $request ['price'], + 'price' => $request ['price'] + $request['deduction_amount'], 'game_name' => $request ['game_name'], 'code' => $request ['code'] );