Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,记录和统计都不显示怎么办 #3

Closed
Shizuri23 opened this issue Sep 9, 2021 · 13 comments
Closed

您好,记录和统计都不显示怎么办 #3

Shizuri23 opened this issue Sep 9, 2021 · 13 comments

Comments

@Shizuri23
Copy link

image

image

@soxft
Copy link
Owner

soxft commented Sep 9, 2021

您的数据库内仅有一张表吗? 我稍后看一下

@Shizuri23
Copy link
Author

image

@Shizuri23
Copy link
Author

https://nmsl.pet/cifan/

@Shizuri23
Copy link
Author

您的数据库内仅有一张表吗? 我稍后看一下

您好,回复了

@soxft
Copy link
Owner

soxft commented Sep 9, 2021

您的数据库内仅有一张表吗? 我稍后看一下

您好,回复了

我看下,稍等

@soxft
Copy link
Owner

soxft commented Sep 9, 2021

config表可以看下内容吗

@Shizuri23
Copy link
Author

config表可以看下内容吗

image

@soxft
Copy link
Owner

soxft commented Sep 9, 2021

尝试执行以下sql命令

INSERT INTO `config` VALUES('money','0'),('num','0');

@Shizuri23
Copy link
Author

尝试执行以下sql命令

INSERT INTO `config` VALUES('money','0'),('num','0');

image

ok

image

@Shizuri23
Copy link
Author

尝试执行以下sql命令

INSERT INTO `config` VALUES('money','0'),('num','0');

抓个人试了试,数字有变动,但是记录那还是没变化(留言)

@soxft
Copy link
Owner

soxft commented Sep 9, 2021

那个记录默认只统计 金额大于1元的

@Shizuri23
Copy link
Author

那个记录默认只统计 金额大于1元的

明白了,谢谢

@soxft
Copy link
Owner

soxft commented Sep 9, 2021

那个记录默认只统计 金额大于1元的

可以修改吗?

index.php Line 302 有一个

if ((int)$row->money < 1) { 

改成

if ((float)$row->money < 指定金额) { 

或者删除

if ((int)$row->money < 1) {
       continue;
}

@soxft soxft closed this as completed Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants