|
|
@@ -61,7 +61,7 @@ public class UserKeyService {
|
|
|
|
|
|
public String getToken(int loginUser) {
|
|
|
String secretKey = "ossconsole.reghao.cn";
|
|
|
- long timestamp = System.currentTimeMillis() + 3600*24*365;
|
|
|
+ long timestamp = System.currentTimeMillis() + 3600*24*365*1000L;
|
|
|
String action = ChannelAction.all.getName();
|
|
|
int channelId = 1;
|
|
|
OssPayload ossPayload = new OssPayload(action, channelId, loginUser);
|