fix bug
This commit is contained in:
@@ -82,7 +82,7 @@ public class KioskServiceImpl implements IKioskApiService {
|
||||
String uploadKey = codePrefix + StringPool.COLON + user.getDeptId() + StringPool.COLON + user.getAccount();
|
||||
String code = StringUtil.random(8, RandomType.ALL);
|
||||
redis.setEx(uploadKey, code, 900L);
|
||||
return StringUtil.format("https://upload.tttzai.com?code=%s&machine=%s&store=%s", code, user.getAccount(), user.getDeptId());
|
||||
return StringUtil.format("https://upload.tttzai.com?code={}&machine={}&store={}", code, user.getAccount(), user.getDeptId());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user