bug修复2

master
chenzhi 5 years ago
parent b8945e8655
commit b69ca03856

@ -152,7 +152,9 @@ class SsgController extends BaseController {
$this -> set_message(1017, "fail", "添加失败"); $this -> set_message(1017, "fail", "添加失败");
} }
//添加自动登录 //添加自动登录
$_SESSION['user_id'] = $res; $userApi = new MemberApi();
$user_id = $userApi->login($account, $password,1);
$this -> set_message(1, "success", "添加成功"); $this -> set_message(1, "success", "添加成功");
} }
@ -166,8 +168,12 @@ class SsgController extends BaseController {
if(empty($res)){ if(empty($res)){
$this -> set_message(1017, "fail", "添加失败"); $this -> set_message(1017, "fail", "添加失败");
} }
//添加自动登录 //添加自动登录
$_SESSION['user_id'] = $res; $userApi = new MemberApi();
$user_id = $userApi->login($account, $password,1);
$this -> set_message(1, "success", "添加成功"); $this -> set_message(1, "success", "添加成功");
# code... # code...
} }

@ -57,7 +57,7 @@
<div class="descitem" style="background: url('__IMG__/ssg/home/list2.png') no-repeat top center/100% 100%;"> <div class="descitem" style="background: url('__IMG__/ssg/home/list2.png') no-repeat top center/100% 100%;">
<ul> <ul>
<li style="line-height:1.5;"> <li style="line-height:1.5;">
账号登入且付费,购买苹果超级签(不同设备需要分别付费安装哦 账号登入且付费,购买苹果超级签(同个账号多个设备需要去找客服那边购买
</li> </li>
<li>下载安装描述文件</li> <li>下载安装描述文件</li>
<li>下载安装游戏</li> <li>下载安装游戏</li>

@ -229,7 +229,8 @@ var index = {
index.choose.game_id = data.game_id; index.choose.game_id = data.game_id;
}) })
$("#selectVal").on("keyup",function(){ $("#selectVal").on("keyup",function(){
index.select.game_name =$(this).val().replace(/\s*/g,""); // index.select.game_name =$(this).val().replace(/\s*/g,"");
index.select.game_name =$(this).val().replace(/[^\w\s]/gi,"");
index.select.type = 0; index.select.type = 0;
index.getgamelist() index.getgamelist()
}) })

@ -13,7 +13,6 @@
body { body {
background-color: #F5F5F5; background-color: #F5F5F5;
} }
.flexitem { .flexitem {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
@ -152,7 +151,7 @@
</volist> </volist>
</div> </div>
<else /> <else />
<div class="page-container "> <div class="page-container" style="background-color: rgba(0,0,0,0);">
<div class="order-search"> <div class="order-search">
<div class="no-order"> <div class="no-order">
您还没有订单哟~快去下单吧~ 您还没有订单哟~快去下单吧~

Loading…
Cancel
Save