mirror of
https://github.com/czp3009/bilibili-api.git
synced 2024-12-21 20:30:28 +08:00
格式化代码
This commit is contained in:
parent
0219a0c8fe
commit
4b072d0266
@ -7,6 +7,8 @@ apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'signing'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
||||
mavenCentral()
|
||||
|
@ -44,8 +44,10 @@ public class SortParamsAndSignInterceptor implements Interceptor {
|
||||
nameAndValues.add(String.format("%s=%s", "sign", calculateSign(nameAndValues)));
|
||||
return chain.proceed(
|
||||
request.newBuilder()
|
||||
.url(httpUrl.newBuilder().encodedQuery(generateQuery(nameAndValues)).build())
|
||||
.build()
|
||||
.url(httpUrl.newBuilder()
|
||||
.encodedQuery(generateQuery(nameAndValues))
|
||||
.build()
|
||||
).build()
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user