Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
sx-prize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
60fc93ce
authored
Jul 07, 2019
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j
parent
d6da04e2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
131 additions
and
24 deletions
+131
-24
.idea/workspace.xml
+125
-22
Application/Home/Controller/IndexController.class.php
+2
-2
Application/User/View/default/Check_index.tpl
+4
-0
No files found.
.idea/workspace.xml
View file @
60fc93ce
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<list
default=
"true"
id=
"83262c17-7030-4f8f-af17-e1cc55f76944"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"83262c17-7030-4f8f-af17-e1cc55f76944"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
afterPath=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
afterPath=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/
Home/View/default/Index_index.tpl"
afterPath=
"$PROJECT_DIR$/Application/Home/View/default/Index
_index.tpl"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/
User/View/default/Check_index.tpl"
afterPath=
"$PROJECT_DIR$/Application/User/View/default/Check
_index.tpl"
/>
</list>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
@@ -31,10 +31,10 @@
...
@@ -31,10 +31,10 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"Index_index.tpl"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"Index_index.tpl"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
323
"
>
<state
relative-caret-position=
"
-171
"
>
<caret
line=
"44"
column=
"19"
lean-forward=
"false"
selection-start-line=
"44"
selection-start-column=
"19"
selection-end-line=
"44"
selection-end-column=
"19"
/>
<caret
line=
"44"
column=
"19"
lean-forward=
"false"
selection-start-line=
"44"
selection-start-column=
"19"
selection-end-line=
"44"
selection-end-column=
"19"
/>
<folding>
<folding>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<file
leaf-file-name=
"index.js"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"index.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
358
"
>
<state
relative-caret-position=
"
1007
"
>
<caret
line=
"53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0"
/>
<caret
line=
"53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0"
/>
<folding
/>
<folding
/>
</state>
</state>
...
@@ -57,8 +57,8 @@
...
@@ -57,8 +57,8 @@
<file
leaf-file-name=
"IndexController.class.php"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"IndexController.class.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1565
"
>
<state
relative-caret-position=
"
247
"
>
<caret
line=
"1
26"
column=
"18"
lean-forward=
"true"
selection-start-line=
"126"
selection-start-column=
"18"
selection-end-line=
"126"
selection-end-column=
"18
"
/>
<caret
line=
"1
3"
column=
"53"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"53"
selection-end-line=
"13"
selection-end-column=
"53
"
/>
<folding>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -66,6 +66,46 @@
...
@@ -66,6 +66,46 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"Check_index.tpl"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"46"
column=
"59"
lean-forward=
"true"
selection-start-line=
"46"
selection-start-column=
"59"
selection-end-line=
"46"
selection-end-column=
"59"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Report_index.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Report_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Home_signin.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Home_signin.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-646"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"groupuser_layout.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/groupuser_layout.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-532"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Index_share.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"Index_share.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
@@ -134,8 +174,9 @@
...
@@ -134,8 +174,9 @@
<option
value=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<option
value=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
/>
<option
value=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
<option
value=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -279,6 +320,36 @@
...
@@ -279,6 +320,36 @@
<option
name=
"myItemId"
value=
"Application"
/>
<option
name=
"myItemId"
value=
"Application"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"User"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"View"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"default"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"sx-prize"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"sx-prize"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Application"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"User"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
...
@@ -467,12 +538,12 @@
...
@@ -467,12 +538,12 @@
<option
name=
"presentableId"
value=
"Default"
/>
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1562502557206
</updated>
<updated>
1562502557206
</updated>
<workItem
from=
"1562502558877"
duration=
"2926000"
/>
<workItem
from=
"1562502558877"
duration=
"2926000"
/>
<workItem
from=
"1562505554364"
duration=
"8
434
000"
/>
<workItem
from=
"1562505554364"
duration=
"8
582
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"11
360
000"
/>
<option
name=
"totallyTimeSpent"
value=
"11
508
000"
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"817"
extended-state=
"6"
/>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"817"
extended-state=
"6"
/>
...
@@ -610,9 +681,28 @@
...
@@ -610,9 +681,28 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3306"
>
<caret
line=
"174"
column=
"21"
lean-forward=
"false"
selection-start-line=
"174"
selection-start-column=
"21"
selection-end-line=
"174"
selection-end-column=
"21"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-171"
>
<caret
line=
"44"
column=
"19"
lean-forward=
"false"
selection-start-line=
"44"
selection-start-column=
"19"
selection-end-line=
"44"
selection-end-column=
"19"
/>
<folding>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#img#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
358
"
>
<state
relative-caret-position=
"
1007
"
>
<caret
line=
"53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0"
/>
<caret
line=
"53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0"
/>
<folding
/>
<folding
/>
</state>
</state>
...
@@ -620,30 +710,43 @@
...
@@ -620,30 +710,43 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1565
"
>
<state
relative-caret-position=
"
247
"
>
<caret
line=
"1
26"
column=
"18"
lean-forward=
"true"
selection-start-line=
"126"
selection-start-column=
"18"
selection-end-line=
"126"
selection-end-column=
"18
"
/>
<caret
line=
"1
3"
column=
"53"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"53"
selection-end-line=
"13"
selection-end-column=
"53
"
/>
<folding>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
Public/static/css/main.scss
"
>
<entry
file=
"file://$PROJECT_DIR$/
Application/User/View/default/Report_index.tpl
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
3306
"
>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
174"
column=
"21"
lean-forward=
"false"
selection-start-line=
"174"
selection-start-column=
"21"
selection-end-line=
"174"
selection-end-column=
"21
"
/>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/
Home/View/default/Index_index
.tpl"
>
<entry
file=
"file://$PROJECT_DIR$/Application/
User/View/default/Home_signin
.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"323"
>
<state
relative-caret-position=
"-646"
>
<caret
line=
"44"
column=
"19"
lean-forward=
"false"
selection-start-line=
"44"
selection-start-column=
"19"
selection-end-line=
"44"
selection-end-column=
"19"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</state>
<element
signature=
"n#style#0;n#img#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</provider>
</folding>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/groupuser_layout.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-532"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"46"
column=
"59"
lean-forward=
"true"
selection-start-line=
"46"
selection-start-column=
"59"
selection-end-line=
"46"
selection-end-column=
"59"
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
Application/Home/Controller/IndexController.class.php
View file @
60fc93ce
...
@@ -10,8 +10,8 @@ use Think\Log;
...
@@ -10,8 +10,8 @@ use Think\Log;
class
IndexController
extends
Controller
class
IndexController
extends
Controller
{
{
private
$auth_type
=
OAuthHelperV3
::
SCOPE_BASE
;
//
private $auth_type = OAuthHelperV3::SCOPE_BASE;
//
private $auth_type = OAuthHelperV3::SCOPE_USERINFO;
private
$auth_type
=
OAuthHelperV3
::
SCOPE_USERINFO
;
private
$cookie_uid_key
=
'mtime-laopao-v1'
;
private
$cookie_uid_key
=
'mtime-laopao-v1'
;
private
$debug
=
1
;
private
$debug
=
1
;
private
$today
;
private
$today
;
...
...
Application/User/View/default/Check_index.tpl
View file @
60fc93ce
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
<th
width=
"20%"
>
名字
</th>
<th
width=
"20%"
>
名字
</th>
<th
width=
"20%"
>
地区
</th>
<th
width=
"20%"
>
地区
</th>
<th
width=
"20%"
>
头像
</th>
<th
width=
"20%"
>
头像
</th>
<th
width=
"20%"
>
渠道
</th>
<th
width=
"20%"
>
时间
</th>
<th
width=
"20%"
>
时间
</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -40,6 +41,9 @@
...
@@ -40,6 +41,9 @@
<img
src=
"{:$item.headimgurl}"
style=
"width: 100px;height: 100px"
>
<img
src=
"{:$item.headimgurl}"
style=
"width: 100px;height: 100px"
>
</td>
</td>
<td
class=
"vertical-mid js-photo-size"
>
<td
class=
"vertical-mid js-photo-size"
>
<img
src=
"{:$item.channel}"
style=
"width: 100px;height: 100px"
>
</td>
<td
class=
"vertical-mid js-photo-size"
>
{:$item.take_time|date_format:'m-d H:i:s'}
{:$item.take_time|date_format:'m-d H:i:s'}
</td>
</td>
...
...
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