Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
test_h5
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
章建武
test_h5
Commits
93da7989
Commit
93da7989
authored
Dec 26, 2019
by
章建武
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep
parent
b3290217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
IndexController.class.php
Application/Frontend/Controller/IndexController.class.php
+10
-7
No files found.
Application/Frontend/Controller/IndexController.class.php
View file @
93da7989
...
...
@@ -203,24 +203,27 @@ class IndexController extends Controller
$a_2019_1
=
[
"苦涩"
,
"劳累"
,
"九九六"
,
"脱发"
,
"贫穷"
];
$a_2019_2
=
[
"多余的赘肉"
,
"忧愁"
,
"烦恼失意"
,
"伤心"
,
"压力"
,];
$a_2019_3
=
[
"寂寞"
,
"孤独"
,
"各种加班"
,
"不值得的人"
,
"失眠"
,
"病痛"
];
$a_2020
=
array
(
"被疯狂告白"
,
"脱单"
,
"脱胖"
,
"脱贫"
,
"绩效翻倍"
,
"今年暴富"
,
"干啥啥成功"
,
"甜甜的爱情"
,
"狂吃不胖"
,
"身体棒棒"
,
"18岁的容颜"
,
"赚到一亿"
,
"加薪升职"
,
"做领导"
,
"考试不挂科"
,
"人生巅峰"
,
"被人疼爱"
,
"年会中大奖"
,
"买的起房"
,
"一觉天亮"
,
"燕窝自由"
,
"信用卡自由"
,
"有时间做饭"
);
$a_2020
=
[
"被疯狂告白"
,
"脱单"
,
"脱胖"
,
"脱贫"
,
"绩效翻倍"
,
"今年暴富"
];
$a_2020_1
=
[
"干啥啥成功"
,
"甜甜的爱情"
,
"狂吃不胖"
,
"身体棒棒"
,
"18岁的容颜"
];
$a_2020_2
=
[
"赚到一亿"
,
"加薪升职"
,
"做领导"
,
"考试不挂科"
,
"人生巅峰"
,
"被人疼爱"
,];
$a_2020_3
=
[
"年会中大奖"
,
"买的起房"
,
"一觉天亮"
,
"燕窝自由"
,
"信用卡自由"
,
"有时间做饭"
];
$r_1
=
array_rand
(
$a_2019
);
$r_2
=
array_rand
(
$a_2019_1
);
$r_3
=
array_rand
(
$a_2019_2
);
$r_4
=
array_rand
(
$a_2019_3
);
$r_5
=
array_rand
(
$a_2020
);
$r_6
=
array_rand
(
$a_2020
);
$r_7
=
array_rand
(
$a_2020
);
$r_8
=
array_rand
(
$a_2020
);
$r_6
=
array_rand
(
$a_2020
_1
);
$r_7
=
array_rand
(
$a_2020
_2
);
$r_8
=
array_rand
(
$a_2020
_3
);
$arr_text
=
[
$a_2019
[
$r_1
],
$a_2019_1
[
$r_2
],
$a_2019_2
[
$r_3
],
$a_2019_3
[
$r_4
],
$a_2020
[
$r_5
],
$a_2020
[
$r_6
],
$a_2020
[
$r_7
],
$a_2020
[
$r_8
],
$a_2020
_1
[
$r_6
],
$a_2020
_2
[
$r_7
],
$a_2020
_3
[
$r_8
],
];
return
$arr_text
;
...
...
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