|
|
@ -11,6 +11,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
namespace Common\Api;
|
|
|
|
namespace Common\Api;
|
|
|
|
use Org\UcenterSDK\Ucservice;
|
|
|
|
use Org\UcenterSDK\Ucservice;
|
|
|
|
|
|
|
|
use Think\Log;
|
|
|
|
class GameApi {
|
|
|
|
class GameApi {
|
|
|
|
|
|
|
|
|
|
|
|
public function game_login(){
|
|
|
|
public function game_login(){
|
|
|
@ -18,6 +19,7 @@ class GameApi {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function game_pay_notify($param=null,$code=1,$is_uc=0){
|
|
|
|
public function game_pay_notify($param=null,$code=1,$is_uc=0){
|
|
|
|
|
|
|
|
Log::write("notice:".serialize($param), Log::DEBUG);
|
|
|
|
$pay_map['pay_status'] = 1;
|
|
|
|
$pay_map['pay_status'] = 1;
|
|
|
|
$pay_map['pay_game_status'] = 0;
|
|
|
|
$pay_map['pay_game_status'] = 0;
|
|
|
|
if($is_uc){
|
|
|
|
if($is_uc){
|
|
|
|