作者 潘浩文
1 个管道 的构建 通过 耗费 4 秒

测试反馈修改

... ... @@ -52,7 +52,7 @@ class UserController extends WeChatBaseController
$last = Db::name('users_score_log')->where(['users_id'=>$re['id'], 'action' => '签到'])->max('create_time');
$score=Db::name('config')->where('id',1)->find()['qiandao'];
if (date('Ymd', time()) > date('Ymd',$last)) {
$data['score'] = 10;
$data['score'] = $score;
$data['users_id'] = $re['id'];
$data['create_time'] = time();
$data['action'] = '签到';
... ...