Skip to content

Commit 5cd8df8

Browse files
committed
Test
1 parent 6acd737 commit 5cd8df8

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,7 @@
10881088
4E5F39031ACA958C0010515D /* TopicCommentCCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TopicCommentCCell.h; sourceTree = "<group>"; };
10891089
4E5F39041ACA958C0010515D /* TopicCommentCCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TopicCommentCCell.m; sourceTree = "<group>"; };
10901090
4E5F39061ACBFDCD0010515D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
1091+
4E6241091B74986200E1533C /* Coding_iOS-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Coding_iOS-Prefix.pch"; sourceTree = "<group>"; };
10911092
4E63839B1B3262D300D98648 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
10921093
4E63839C1B3262D300D98648 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
10931094
4E63839D1B3262D300D98648 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
@@ -3325,6 +3326,7 @@
33253326
8EA6CF1619E240C40076D59C /* AppDelegate.m */,
33263327
4EFE8DB81B3A5727004B7559 /* Launch Screen.xib */,
33273328
8EA6CF1719E240C40076D59C /* Coding_iOS-Info.plist */,
3329+
4E6241091B74986200E1533C /* Coding_iOS-Prefix.pch */,
33283330
4E8C51AE1AC0177600B4C51F /* Coding_iOS-Prefix.pch.example */,
33293331
8EA6CF1919E240C40076D59C /* Coding_iOS.xcdatamodeld */,
33303332
8EA6CFC519E240C40076D59C /* Images.xcassets */,

Coding_iOS/Coding_iOS-Prefix.pch

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
#define kBaiduAK @""
6060
#define kBaiduSK @""
6161

62+
//测试地址
63+
#define kBaseUrlStr_Test @""
64+
6265
//appStore地址
6366
#define kAppUrl @"http://itunes.apple.com/app/id923676989"
6467
#define kAppReviewURL @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=923676989"

Coding_iOS/Coding_iOS-Prefix.pch.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
#define kBaiduAK @""
6060
#define kBaiduSK @""
6161

62+
//测试地址
63+
#define kBaseUrlStr_Test @"https://coding.net/"
64+
6265
//appStore地址
6366
#define kAppUrl @"http://itunes.apple.com/app/id923676989"
6467
#define kAppReviewURL @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=923676989"

Coding_iOS/Util/OC_Category/NSObject+Common.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ + (NSString *)baseURLStr{
104104
NSString *baseURLStr;
105105
if ([self baseURLStrIsTest]) {
106106
//staging
107-
baseURLStr = @"https://staging.coding.net/";
107+
baseURLStr = kBaseUrlStr_Test;
108108
}else{
109109
//生产
110110
baseURLStr = @"https://coding.net/";

0 commit comments

Comments
 (0)