Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
goods
Commits
4c911a1a
Commit
4c911a1a
authored
Oct 11, 2021
by
suntengda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pindan_activity_list_optimize' into test
parents
c41caf69
fc87f3c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
MarketingService.php
application/services/marketing/MarketingService.php
+14
-12
No files found.
application/services/marketing/MarketingService.php
View file @
4c911a1a
...
...
@@ -1665,18 +1665,20 @@ class MarketingService
$applyStatus
=
$applyInfo
[
'apply_status'
]
??
-
1
;
// -1.未申请 0.未审核 1.审核通过 2.审核未通过
//不同状态跳转不同链接
switch
(
$applyStatus
)
{
case
0
:
case
2
:
$config
[
1
][
'link_url'
]
=
'/page-promo/promo/teamLeader/applySuccess'
;
break
;
case
1
:
$config
[
1
][
'link_url'
]
=
'/page-promo/promo/index'
;
break
;
case
-
1
:
default
:
$config
[
1
][
'link_url'
]
=
'/page-promo/promo/teamLeader/apply'
;
break
;
if
(
isset
(
$config
[
1
]))
{
switch
(
$applyStatus
)
{
case
0
:
case
2
:
$config
[
1
][
'link_url'
]
=
'/page-promo/promo/teamLeader/applySuccess'
;
break
;
case
1
:
$config
[
1
][
'link_url'
]
=
'/page-promo/promo/index'
;
break
;
case
-
1
:
default
:
$config
[
1
][
'link_url'
]
=
'/page-promo/promo/teamLeader/apply'
;
break
;
}
}
return
is_array
(
$config
)
?
array_slice
(
$config
,
0
)
:
[];
...
...
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