You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
517 B
PHP
28 lines
517 B
PHP
<?php
|
|
/**
|
|
* 定时自动完成
|
|
*/
|
|
namespace Admin\Controller;
|
|
use Admin\Model\SpendModel;
|
|
use Think\Think;
|
|
use Org\RedisSDK\Redis;
|
|
|
|
class AutoController extends Think {
|
|
|
|
protected function _initialize()
|
|
{
|
|
C(api('Config/lists'));
|
|
}
|
|
|
|
public function modifyUserRole()
|
|
{
|
|
M('user_play_info', 'tab_')->select(['game_id', 'server_id', 'role_id'])->group('game_id, server_id, role_id')->having('count(*)>1')->select();
|
|
|
|
}
|
|
|
|
public function modifyRecharge()
|
|
{
|
|
|
|
}
|
|
}
|