Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-06-07 09:39:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d3e4f4158c354360bdc529d366eb9c82d28277e4
d3e4f415
1 parent
48cb1250
1.重构合成脚本。
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Controllers/V1/MembershipController.php
app/Http/Controllers/V1/MembershipController.php
View file @
d3e4f41
...
...
@@ -22,7 +22,7 @@ class MembershipController extends Controller
$user
=
$request
->
user
();
$profile
=
UserProfile
::
query
()
->
find
(
$user
->
id
);
if
(
$profile
->
is_vip
==
1
)
{
if
(
$profile
!=
null
&&
$profile
->
is_vip
==
1
)
{
$state
=
2
;
// 会员显示
}
else
{
$state
=
1
;
// 非会员显示
...
...
Please
register
or
login
to post a comment