新增定时器redis存储钱包余额 404
parent
5df7c16a96
commit
d86d56a90d
|
@ -29,6 +29,7 @@ public class SysUserPurse {
|
|||
*/
|
||||
@Scheduled(cron = "0 0/5 * * * ?")
|
||||
public void userPurse(){
|
||||
System.out.println("~~~~~~定时器开始扫描钱包余额~~~~~~");
|
||||
//获取用户的编号
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
//根据用户编号查询用户钱包
|
||||
|
|
Loading…
Reference in New Issue