update:
fix upload
This commit is contained in:
@@ -122,7 +122,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={}&machine={}&store={}", code, user.getAccount(), user.getDeptId());
|
return StringUtil.format("https://up.tttzai.com?code={}&machine={}&store={}", code, user.getAccount(), user.getDeptId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user