Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
0fb2d7ee
Commit
0fb2d7ee
authored
Apr 25, 2018
by
汪波
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
e7923af0
7aa1957f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
inviteRedpack.php
e/action/inviteRedpack.php
+2
-1
MemberRedpack.php
e/extend/internalApi/ucenter/MemberRedpack.php
+2
-2
indexloginstatus.php
e/member/login/indexloginstatus.php
+3
-1
No files found.
e/action/inviteRedpack.php
View file @
0fb2d7ee
...
@@ -8,4 +8,5 @@
...
@@ -8,4 +8,5 @@
require
(
__DIR__
.
'/../extend/internalApi/autoload.php'
);
require
(
__DIR__
.
'/../extend/internalApi/autoload.php'
);
require
(
__DIR__
.
'/../config/config_ibanshou.php'
);
require
(
__DIR__
.
'/../config/config_ibanshou.php'
);
\internalApi\base\Client
::
config
(
$config
[
'wxh.internal'
][
'client'
]);
\internalApi\base\Client
::
config
(
$config
[
'wxh.internal'
][
'client'
]);
echo
json_encode
(
\internalApi\ucenter\MemberRedpack
::
getFirstRedpack
());
$uid
=
$_GET
[
'uid'
];
\ No newline at end of file
echo
json_encode
(
\internalApi\ucenter\MemberRedpack
::
getFirstRedpack
(
$uid
));
\ No newline at end of file
e/extend/internalApi/ucenter/MemberRedpack.php
View file @
0fb2d7ee
...
@@ -11,8 +11,8 @@ use internalApi\base\Client;
...
@@ -11,8 +11,8 @@ use internalApi\base\Client;
class
MemberRedpack
extends
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
e/member/login/indexloginstatus.php
View file @
0fb2d7ee
...
@@ -15,10 +15,12 @@ if($iscas){
...
@@ -15,10 +15,12 @@ if($iscas){
<?php
if
(
!
$iscas
)
{
?>
<?php
if
(
!
$iscas
)
{
?>
$(function(){
$(function(){
$(".books").attr("href", "/e/member/login");
<!-- $(".books").attr("href", "/e/member/login");-->
showRedpack();
$("#loginGits").attr("style", "display:block;");
$("#loginGits").attr("style", "display:block;");
});
});
<?php
}
else
{
?>
<?php
}
else
{
?>
showRedpack("
<?=
$ucid
?>
");
var zhugeCheckRunHandler = false;
var zhugeCheckRunHandler = false;
function zhugeCheckRun(){
function zhugeCheckRun(){
if(!window.zhuge){
if(!window.zhuge){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment