Skip to content

Commit

Permalink
Merge pull request #7 from PicGo/dev
Browse files Browse the repository at this point in the history
Merge Dev
  • Loading branch information
hackycy authored Jul 20, 2020
2 parents 93d3c3a + 9fbdb0c commit 807e941
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/version.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"iOS": {
"versionName": "1.5.1",
"versionCode": "11"
"versionName": "1.5.2",
"versionCode": "12"
},
"Android": {
"versionName": "1.5.1",
"versionCode": "11"
"versionCode": "12"
}
}
6 changes: 3 additions & 3 deletions lib/utils/net.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class NetUtils {
_dio = new Dio(BaseOptions(
connectTimeout: 30000, receiveTimeout: 30000, sendTimeout: 30000));
if (!inProduction) {
/// Tcyun
dio.interceptors.add(TcyunInterceptor());

/// Log
dio.interceptors
.add(LogInterceptor(requestBody: true, responseBody: true));
}

/// Tcyun Interceptor
dio.interceptors.add(TcyunInterceptor());
}

Dio get dio => _dio;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.5.1+11
version: 1.5.2+12

environment:
sdk: ">=2.7.0 <3.0.0"
Expand Down

0 comments on commit 807e941

Please sign in to comment.