|
@@ -77,7 +77,7 @@ public class CommonServiceImpl implements CommonService {
|
|
|
}
|
|
|
|
|
|
long timestamp = System.currentTimeMillis();
|
|
|
- String path = teachcloudLoginUrl.substring(teachcloudLoginUrl.indexOf(SystemConstant.PATH_SUBSTR), teachcloudLoginUrl.length());
|
|
|
+ String path = teachcloudLoginUrl.substring(teachcloudLoginUrl.lastIndexOf(SystemConstant.PATH_SUBSTR), teachcloudLoginUrl.length());
|
|
|
String signature = SignatureEntity.build(SignatureType.SECRET, SystemConstant.GET, path, timestamp, basicSchool.getAccessKey(), basicSchool.getAccessSecret());
|
|
|
|
|
|
StringJoiner stringJoiner = new StringJoiner("")
|