master
elf 4 months ago
parent d7591a5fb9
commit 4bd44c3c09

@ -0,0 +1 @@
202108041634264lv0q6bfz46f6fekdwn86xhkvjn62a4y1oxchn4xxypc8hirta

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>页面不存在</title>
<style>
body {
height: 100vh;
text-align: center;
padding: 0;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
h1{
padding-top: 40vh;
margin: 0;
}
</style>
</head>
<body>
<h1>页面不存在</h1>
<p>您所访问的页面不存在!</p>
</body>
</html>

@ -117,7 +117,7 @@ class PromoteController extends ThinkController
$row = 10; $row = 10;
} }
if (I('oa_associated', -1) != -1) { if (I('oa_associated', -1) != -1 && false) {
$map['oa_associated'] = I('oa_associated'); $map['oa_associated'] = I('oa_associated');
$oa_data = []; $oa_data = [];
for ($i = 1; $i > 0; $i++) { for ($i = 1; $i > 0; $i++) {
@ -170,7 +170,7 @@ class PromoteController extends ThinkController
$list_data = M()->table("(".$list_data.") a")->field("a.*,pr.account top_account")->join("tab_promote pr on a.top_id = pr.id")->select(); $list_data = M()->table("(".$list_data.") a")->field("a.*,pr.account top_account")->join("tab_promote pr on a.top_id = pr.id")->select();
$list_data = D(self::model_name)->parseListData($list_data); $list_data = D(self::model_name)->parseListData($list_data);
$oa_data = []; $oa_data = [];
if (I('oa_associated', -1) == -1) { if (I('oa_associated', -1) == -1 && false) {
foreach ($list_data as $k => $v) { foreach ($list_data as $k => $v) {
// $list_data[$k]['account'] = trim($v['account']); // $list_data[$k]['account'] = trim($v['account']);
// if($v['oa_associated'] != 1) { // if($v['oa_associated'] != 1) {

@ -322,7 +322,7 @@ class UserController extends AdminController
$this->error($this->showRegError($uid)); $this->error($this->showRegError($uid));
} }
} else { } else {
$list = D('AuthGroup')->where(array('status' => 1))->select(); $list = M('auth_group', 'sys_')->where(array('status' => 1))->select();
$this->assign('lists', $list); $this->assign('lists', $list);
$this->meta_title = '新增管理员'; $this->meta_title = '新增管理员';
@ -504,7 +504,7 @@ class UserController extends AdminController
$au = D('AuthGroupAccess')->where(array('uid' => $_GET['id']))->find(); $au = D('AuthGroupAccess')->where(array('uid' => $_GET['id']))->find();
$this->assign("authid", $au["group_id"]); $this->assign("authid", $au["group_id"]);
$this->assign("houtai", $au["houtai"]); $this->assign("houtai", $au["houtai"]);
$list = D('AuthGroup')->where(array('status' => 1))->select(); $list = M('auth_group', 'sys_')->where(array('status' => 1))->select();
$username = $_POST['username']; $username = $_POST['username'];
$password = $_POST['password']; $password = $_POST['password'];
$this->assign('lists', $list); $this->assign('lists', $list);
@ -894,4 +894,4 @@ class UserController extends AdminController
$service->delete($id); $service->delete($id);
$this->success('删除成功'); $this->success('删除成功');
} }
} }

@ -119,9 +119,9 @@ class SourceEvent extends Controller
$result = $gameSourceService->sourcePack($data, $game, $game_source); $result = $gameSourceService->sourcePack($data, $game, $game_source);
if (!$result['status']) { if (!$result['status']) {
if ($from == "dev") { if ($from == "dev") {
$this->error('修改失败', U('Developers/source')); $this->error('修改失败,' . $result['message'], U('Developers/source'));
} else { } else {
$this->error('修改失败', U('GameSource/lists')); $this->error('修改失败,' . $result['message'], U('GameSource/lists'));
} }
} }
$data['plist_url'] = $result['data']['plistUrl']; $data['plist_url'] = $result['data']['plistUrl'];
@ -166,9 +166,9 @@ class SourceEvent extends Controller
} }
} else { } else {
if ($from == "dev") { if ($from == "dev") {
$this->error('修改失败', U('Developers/source')); $this->error('修改失败,' . $result['message'], U('Developers/source'));
} else { } else {
$this->error('修改失败', U('GameSource/lists')); $this->error('修改失败,' . $result['message'], U('GameSource/lists'));
} }
} }

@ -98,13 +98,20 @@ class GameApi {
protected function post($param,$url){ protected function post($param,$url){
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
$this->logApi('url: ' . $url);
curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($param)); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($param));
$this->logApi('request: ' . http_build_query($param));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);//要求结果为字符串且输出到屏幕上 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);//要求结果为字符串且输出到屏幕上
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);//设置等待时间 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);//设置等待时间
$data = curl_exec($ch); $data = curl_exec($ch);
$this->logApi('response: ' . $data);
curl_close($ch); curl_close($ch);
return $data; return $data;
} }
} public function logApi($message, $level = 'info') {
$destination = C('LOG_PATH'). 'game_api/' . date('y_m_d').'.log';
\Think\Log::write($message, $level, '', $destination);
}
}

@ -3067,6 +3067,8 @@ function getHideAccount($account)
function getUserAccountOfPromote($account, $promote = null) function getUserAccountOfPromote($account, $promote = null)
{ {
return $account;
if ($promote && $promote['level'] == 1) { if ($promote && $promote['level'] == 1) {
return $account; return $account;
} }
@ -3100,4 +3102,4 @@ function hidePromoteAccount($account) {
$hideChar .= '*'; $hideChar .= '*';
} }
return substr($account, 0, $strLen) . $hideChar . substr($account, $orderLen - $strLen); return substr($account, 0, $strLen) . $hideChar . substr($account, $orderLen - $strLen);
} }

@ -208,6 +208,10 @@ class HomeController extends Controller
$this->error('该链接已失效'); $this->error('该链接已失效');
} }
if (in_array($gameId, [277, 278])) {
$this->error('该游戏链接已失效');
}
$promoteService = new PromoteService(); $promoteService = new PromoteService();
if (!$promoteService->checkPromoteLimitRule($promote)) { if (!$promoteService->checkPromoteLimitRule($promote)) {
$this->error('链接已失效'); $this->error('链接已失效');
@ -321,6 +325,9 @@ class HomeController extends Controller
if(in_array($game['id'], [191, 192])) { if(in_array($game['id'], [191, 192])) {
$game['relation_game_name'] = '九灵神域'; $game['relation_game_name'] = '九灵神域';
} }
if(in_array($game['id'], [282, 283])) {
$game['relation_game_name'] = '逍遥官老爷';
}
$this->assign("serviceQQ", $serviceQQ); $this->assign("serviceQQ", $serviceQQ);
$this->assign('isNewIos', $isNewIos); $this->assign('isNewIos', $isNewIos);

@ -0,0 +1,5 @@
#/bin/bash
rsync -avz root@8.136.139.249:/var/www/windh5-qy/platform/Uploads/GamePlist /var/www/platform_qy/platform/Uploads/;
rsync -avz root@8.136.139.249:/var/www/windh5-qy/platform/Uploads/OrgSourcePlist /var/www/platform_qy/platform/Uploads/;
rsync -avz root@8.136.139.249:/var/www/windh5-qy/platform/Uploads/SourcePlist /var/www/platform_qy/platform/Uploads/;
chown -R www:www /var/www/platform_qy/platform/Uploads;

@ -0,0 +1,8 @@
2022-02-08 22:19:07----------------------市场结算管理计算----------------------
日期:2022-01,游戏:权谋天下,推广员:paifu16
市场员133 推广员4307 公司id185 游戏关联id273 支付时间2022-01 金额18928.00
日期:2022-01,游戏:权谋天下,推广员:qiaosheng2021
市场员133 推广员4316 公司id186 游戏关联id273 支付时间2022-01 金额227666.00
日期:2022-01,游戏:权谋天下,推广员:dgq2021
市场员133 推广员4349 公司id199 游戏关联id273 支付时间2022-01 金额102.00
2022-02-08 22:19:08----------------------市场结算管理计算----------------------

@ -117,9 +117,9 @@
<div class="down-app-inner"> <div class="down-app-inner">
<img src="../Public/Home/images/Poster/poster.png"> <img src="../Public/Home/images/Poster/poster.png">
<a href="itms-services://?action=download-manifest&url=https://m.wmtxkj.com/manifest.plist" class="down-app-btn jq-dwn-btn">立即下载</a> <a href="itms-services://?action=download-manifest&url=https://m.wmtxkj.com/manifest.plist" class="down-app-btn jq-dwn-btn">立即下载</a>
<a href="http://dl.wmtxkj.com/media.php" class="down-app-index">进入网站<i class="iconfont icongengduo" style="margin-left: -0.3rem;font-size: 0.8rem;"></i></a> <a href="#" class="down-app-index">进入网站<i class="iconfont icongengduo" style="margin-left: -0.3rem;font-size: 0.8rem;"></i></a>
<?php if (stripos($_SERVER['HTTP_HOST'],'dl.wmtxkj.com') !== false) :?> <?php if (stripos($_SERVER['HTTP_HOST'],'dl.wmtxkj.com') !== false) :?>
<a target="cyxyv" class="down-app-img" href="https://v.yunaq.com/certificate?domain=dl.wmtxkj.com&from=label&code=90030"><img src="https://aqyzmedia.yunaq.com/labels/label_lg_90030.png" style="position: initial;width: 68px;margin-top: 10px;"></a> <!-- <a target="cyxyv" class="down-app-img" href="https://v.yunaq.com/certificate?domain=dl.wmtxkj.com&from=label&code=90030"><img src="https://aqyzmedia.yunaq.com/labels/label_lg_90030.png" style="position: initial;width: 68px;margin-top: 10px;"></a>-->
<?php endif ;?> <?php endif ;?>
</div> </div>
</section> </section>
@ -155,4 +155,4 @@
} }
</script> </script>
</body> </body>
</html> </html>

Loading…
Cancel
Save