Commit 0fb2d7ee authored by 汪波's avatar 汪波

Merge remote-tracking branch 'origin/test' into test

parents e7923af0 7aa1957f
......@@ -8,4 +8,5 @@
require(__DIR__ . '/../extend/internalApi/autoload.php');
require(__DIR__ . '/../config/config_ibanshou.php');
\internalApi\base\Client::config($config['wxh.internal']['client']);
echo json_encode(\internalApi\ucenter\MemberRedpack::getFirstRedpack());
\ No newline at end of file
$uid = $_GET['uid'];
echo json_encode(\internalApi\ucenter\MemberRedpack::getFirstRedpack($uid));
\ No newline at end of file
......@@ -11,8 +11,8 @@ use internalApi\base\Client;
class MemberRedpack extends Client
{
public static function getFirstRedpack()
public static function getFirstRedpack($userId)
{
return self::call('memberRedpack.firstRedpack');
return self::call('memberRedpack.firstRedpack',compact('userId'));
}
}
\ No newline at end of file
......@@ -15,10 +15,12 @@ if($iscas){
<?php if (!$iscas) { ?>
$(function(){
$(".books").attr("href", "/e/member/login");
<!-- $(".books").attr("href", "/e/member/login");-->
showRedpack();
$("#loginGits").attr("style", "display:block;");
});
<?php }else { ?>
showRedpack("<?=$ucid?>");
var zhugeCheckRunHandler = false;
function zhugeCheckRun(){
if(!window.zhuge){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment