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
879b9e94
authored
Jul 07, 2019
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j
parent
efb5a05c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
33 deletions
+89
-33
.idea/workspace.xml
+88
-32
Application/User/Controller/CheckController.class.php
+1
-1
No files found.
.idea/workspace.xml
View file @
879b9e94
...
...
@@ -2,7 +2,8 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"83262c17-7030-4f8f-af17-e1cc55f76944"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Public/static/css/main.scss"
afterPath=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
afterPath=
"$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -16,7 +17,7 @@
</component>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<splitter
split-orientation=
"horizontal"
split-proportion=
"0.
3876652
"
>
<splitter
split-orientation=
"horizontal"
split-proportion=
"0.
65286344
"
>
<split-first>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"false"
>
...
...
@@ -29,7 +30,7 @@
</provider>
</entry>
</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"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"235"
>
...
...
@@ -72,6 +73,28 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"Check_index.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"209"
>
<caret
line=
"43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"CheckController.class.php"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"190"
>
<caret
line=
"10"
column=
"33"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"33"
selection-end-line=
"10"
selection-end-column=
"33"
/>
<folding>
<marker
date=
"1562514814000"
expanded=
"true"
signature=
"152:283"
ph=
"select a.id,... user"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"main.scss"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
...
@@ -90,7 +113,7 @@
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"83"
>
<caret
line=
"201"
column=
"
2"
lean-forward=
"false"
selection-start-line=
"201"
selection-start-column=
"2"
selection-end-line=
"201"
selection-end-column=
"2
"
/>
<caret
line=
"201"
column=
"
0"
lean-forward=
"false"
selection-start-line=
"201"
selection-start-column=
"0"
selection-end-line=
"201"
selection-end-column=
"0
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -133,6 +156,7 @@
<option
value=
"$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<option
value=
"$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
/>
</list>
</option>
</component>
...
...
@@ -306,6 +330,28 @@
<option
name=
"myItemId"
value=
"User"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Controller"
/>
<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_ELEMENT>
...
...
@@ -494,12 +540,12 @@
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1562502557206
</updated>
<workItem
from=
"1562502558877"
duration=
"2926000"
/>
<workItem
from=
"1562505554364"
duration=
"
890
1000"
/>
<workItem
from=
"1562505554364"
duration=
"
902
1000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"11
82
7000"
/>
<option
name=
"totallyTimeSpent"
value=
"11
94
7000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"817"
extended-state=
"6"
/>
...
...
@@ -629,14 +675,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"722"
>
<caret
line=
"38"
column=
"0"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"0"
selection-end-line=
"41"
selection-end-column=
"74"
/>
<folding
/>
</state>
</provider>
</entry>
<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"
>
...
...
@@ -661,14 +699,6 @@
</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=
"266"
>
<caret
line=
"44"
column=
"29"
lean-forward=
"true"
selection-start-line=
"44"
selection-start-column=
"29"
selection-end-line=
"44"
selection-end-column=
"29"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"19"
>
...
...
@@ -679,14 +709,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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"
/>
<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=
"235"
>
...
...
@@ -700,12 +722,46 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
83
"
>
<caret
line=
"
201"
column=
"2"
lean-forward=
"false"
selection-start-line=
"201"
selection-start-column=
"2"
selection-end-line=
"201"
selection-end-column=
"2
"
/>
<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$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"722"
>
<caret
line=
"38"
column=
"0"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"0"
selection-end-line=
"41"
selection-end-column=
"74"
/>
<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=
"209"
>
<caret
line=
"43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"190"
>
<caret
line=
"10"
column=
"33"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"33"
selection-end-line=
"10"
selection-end-column=
"33"
/>
<folding>
<marker
date=
"1562514814000"
expanded=
"true"
signature=
"152:283"
ph=
"select a.id,... user"
/>
</folding>
</state>
</provider>
</entry>
</component>
<component
name=
"masterDetails"
>
<states>
...
...
Application/User/Controller/CheckController.class.php
View file @
879b9e94
...
...
@@ -7,7 +7,7 @@ class CheckController extends BaseUserController
{
public
function
index
()
{
$sql
=
"select a.id,a.nickname,a.headimgurl,a.region,b.take_time from user a left join prize b on b.user_id = a.id where is_get=1 "
;
$sql
=
"select a.id,a.nickname,a.headimgurl,a.region,b.take_time
,b.channel
from user a left join prize b on b.user_id = a.id where is_get=1 "
;
$list
=
M
()
->
query
(
$sql
);
$this
->
assign
(
'list'
,
$list
);
$this
->
display
();
...
...
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