Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stock_new
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
stock_new
Commits
9fa88147
Commit
9fa88147
authored
Jun 21, 2024
by
董先生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
持仓列表
parent
e3e347cd
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
application/index/controller/Home.php
application/index/controller/Home.php
+2
-2
application/index/controller/Index.php
application/index/controller/Index.php
+3
-3
application/stock/home/Index.php
application/stock/home/Index.php
+1
-0
application/stock/home/Mock.php
application/stock/home/Mock.php
+1
-0
application/stock/home/Trial.php
application/stock/home/Trial.php
+2
-1
No files found.
application/index/controller/Home.php
View file @
9fa88147
...
@@ -31,9 +31,9 @@ class Home extends Common
...
@@ -31,9 +31,9 @@ class Home extends Common
protected
function
_initialize
()
protected
function
_initialize
()
{
{
// 系统开关
// 系统开关
if
(
!
config
(
'web_site_status'
))
{
/*
if (!config('web_site_status')) {
$this->error('站点已经关闭,请稍后访问~');
$this->error('站点已经关闭,请稍后访问~');
}
}
*/
$logo_attach_id
=
config
(
'web_site_front_end_logo'
);
$logo_attach_id
=
config
(
'web_site_front_end_logo'
);
$logoPaths
=
Db
::
name
(
'admin_attachment'
)
->
where
(
'id'
,
$logo_attach_id
)
->
value
(
'path'
);
$logoPaths
=
Db
::
name
(
'admin_attachment'
)
->
where
(
'id'
,
$logo_attach_id
)
->
value
(
'path'
);
...
...
application/index/controller/Index.php
View file @
9fa88147
...
@@ -31,7 +31,7 @@ class Index extends Home
...
@@ -31,7 +31,7 @@ class Index extends Home
*/
*/
protected
function
_initialize
()
protected
function
_initialize
()
{
{
$this
->
error
(
'站点已经关闭,请稍后访问~'
);
parent
::
_initialize
();
parent
::
_initialize
();
//获取首页统计数据
//获取首页统计数据
$this
->
assign
(
'statistics'
,
$this
->
getStatistics
());
$this
->
assign
(
'statistics'
,
$this
->
getStatistics
());
...
...
application/stock/home/Index.php
View file @
9fa88147
...
@@ -25,6 +25,7 @@ class Index extends Home
...
@@ -25,6 +25,7 @@ class Index extends Home
{
{
public
function
__construct
(
Request
$request
=
null
)
public
function
__construct
(
Request
$request
=
null
)
{
{
$this
->
error
(
'站点已经关闭,请稍后访问~'
);
parent
::
__construct
(
$request
);
parent
::
__construct
(
$request
);
// 配资金额范围
// 配资金额范围
$this
->
assign
(
"money_range"
,
explode
(
'|'
,
config
(
'money_range'
)));
$this
->
assign
(
"money_range"
,
explode
(
'|'
,
config
(
'money_range'
)));
...
...
application/stock/home/Mock.php
View file @
9fa88147
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
{
{
public
function
index
()
public
function
index
()
{
{
$this
->
error
(
'站点已经关闭,请稍后访问~'
);
$money
=
config
(
'web_site_mock'
);
$money
=
config
(
'web_site_mock'
);
$this
->
assign
(
'money'
,
$money
);
$this
->
assign
(
'money'
,
$money
);
$this
->
assign
(
'title'
,
'模拟操盘-股票配资'
);
$this
->
assign
(
'title'
,
'模拟操盘-股票配资'
);
...
...
application/stock/home/Trial.php
View file @
9fa88147
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
{
{
public
function
index
()
public
function
index
()
{
{
$this
->
error
(
'站点已经关闭,请稍后访问~'
);
$this
->
assign
(
'title'
,
'免费体验-股票配资'
);
$this
->
assign
(
'title'
,
'免费体验-股票配资'
);
$mid
=
is_member_signin
();
$mid
=
is_member_signin
();
if
(
!
$mid
){
if
(
!
$mid
){
...
...
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