Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
pingan-maruko
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
33724028
authored
Jul 07, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
c8567bb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
Application/Home/Controller/IndexController.class.php
+1
-1
Public/static/js/common.js
+1
-0
No files found.
Application/Home/Controller/IndexController.class.php
View file @
33724028
...
...
@@ -36,7 +36,7 @@ class IndexController extends Controller
public
function
get_random_prize
(
$user
)
{
$v
=
rand
(
0
,
1000000
)
/
1000000
;
$today_ratio
=
0
;
$today_ratio
=
1
;
if
(
$v
>
$today_ratio
)
{
return
false
;
}
...
...
Public/static/js/common.js
View file @
33724028
...
...
@@ -266,6 +266,7 @@ function toPage3() {
}
function
showResult
(
event
)
{
window
.
joinNum
++
;
if
(
!
createPosterLock
)
{
const
resultFlag
=
/-
(\d)\s
/g
.
exec
(
$
(
event
.
target
).
attr
(
'class'
))[
1
]
if
(
window
.
pt
===
'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