|
|
|
@ -65,7 +65,7 @@ class PackageController extends Controller
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$promote = M('promote', 'tab_')->field(['id', 'parent_id', 'chain', 'level'])->where(['id' => $promoteId])->find();
|
|
|
|
|
$game = M('game','tab_')->field(['id', 'game_name', 'sdk_version'])->where(['id' => $apply['game_id']])->find();
|
|
|
|
|
$game = M('game','tab_')->field(['id', 'game_name', 'sdk_version', 'apply_auth'])->where(['id' => $apply['game_id']])->find();
|
|
|
|
|
if (!$applyService->checkSociatyPerm($promote, $game)) {
|
|
|
|
|
$this->redirect("package/downloadError", ['message' => '该链接已经停止使用']);
|
|
|
|
|
}
|
|
|
|
|