优化ssg

master
chenzhi 5 years ago
parent b01ff154ea
commit 92942cb7f5

@ -23,9 +23,9 @@ class SsgController extends BaseController {
{ {
$promoteId = I("promote_id", 0); $promoteId = I("promote_id", 0);
$user = session("user_auth"); $user = session("user_auth");
// if ($user) { if ($user) {
// redirect(U("ssg/index", array('promete_id' => $promoteId))); redirect(U("ssg/index", array('promete_id' => $promoteId)));
// } }
// /*if (!$promoteId) { // /*if (!$promoteId) {
// echo "链接失效,请重新向推广员索取链接。"; // echo "链接失效,请重新向推广员索取链接。";

@ -10,7 +10,7 @@
*{ *{
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
max-width: 768px; max-width: 750px;
} }
li{ li{
line-height:2; line-height:2;

@ -245,7 +245,6 @@ $(".pay-button").on("click",function(){
} }
}) })
$("#logout").on("click",function(){ $("#logout").on("click",function(){
alert("退出登录成功");
location.href = "mobile.php?s=/Ssg/logout.html"; location.href = "mobile.php?s=/Ssg/logout.html";
}) })
function handlePay() { function handlePay() {

Loading…
Cancel
Save