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 uploadKey = codePrefix + StringPool.COLON + user.getDeptId() + StringPool.COLON + user.getAccount();
|
||||||
String code = StringUtil.random(8, RandomType.ALL);
|
String code = StringUtil.random(8, RandomType.ALL);
|
||||||
redis.setEx(uploadKey, code, 900L);
|
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
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user