Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5ec1daf

Browse files
低级错误
1 parent 8996b15 commit 5ec1daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Coding_iOS/Util/OC_Category/NSObject+Common.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ + (BOOL)baseURLStrIsProduction{
160160
+ (void)changeBaseURLStrTo:(NSString *)baseURLStr{
161161
if (baseURLStr.length <= 0) {
162162
baseURLStr = kBaseURLStr;
163-
}else if ([baseURLStr hasSuffix:@"/"]){
163+
}else if (![baseURLStr hasSuffix:@"/"]){
164164
baseURLStr = [baseURLStr stringByAppendingString:@"/"];
165165
}
166166

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /