Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
ZhiJi-Overseas
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
ZhiJi-Overseas
Commits
df107d97
Commit
df107d97
authored
Jul 23, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5a8767c5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
project.pbxproj
ZhiJi.xcodeproj/project.pbxproj
+2
-2
ZJPhoneLoginViewController.m
ZhiJi/Classes/Login/Controller/ZJPhoneLoginViewController.m
+1
-1
TQNetworkTools.m
ZhiJi/Classes/Tools/Network/TQNetworkTools.m
+8
-8
ResourceHeader.pch
ZhiJi/Classes/Tools/PCH/ResourceHeader.pch
+6
-6
No files found.
ZhiJi.xcodeproj/project.pbxproj
View file @
df107d97
...
@@ -1926,7 +1926,7 @@
...
@@ -1926,7 +1926,7 @@
"-ObjC"
,
"-ObjC"
,
"-all_load"
,
"-all_load"
,
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.app.familymapp
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
ishin
app.familymapp
;
PRODUCT_NAME
=
"Family Mapp"
;
PRODUCT_NAME
=
"Family Mapp"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
...
@@ -2026,7 +2026,7 @@
...
@@ -2026,7 +2026,7 @@
"-ObjC"
,
"-ObjC"
,
"-all_load"
,
"-all_load"
,
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.app.familymapp
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
ishin
app.familymapp
;
PRODUCT_NAME
=
"Family Mapp"
;
PRODUCT_NAME
=
"Family Mapp"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
...
...
ZhiJi/Classes/Login/Controller/ZJPhoneLoginViewController.m
View file @
df107d97
...
@@ -351,7 +351,7 @@
...
@@ -351,7 +351,7 @@
NSString
*
phone
=
phoneTextfield
.
text
;
NSString
*
phone
=
phoneTextfield
.
text
;
NSString
*
phoneCode
=
currentCountryCode
;
NSString
*
phoneCode
=
currentCountryCode
;
[[
TQNetworkTools
shared
]
postWithAction
:
getSmsCode
parameters
:@{
@"phoneNo"
:
phone
,
/*@"phoneCode":phoneCode*/
}
success
:^
(
id
_Nonnull
response
)
{
[[
TQNetworkTools
shared
]
postWithAction
:
getSmsCode
parameters
:@{
@"phoneNo"
:
phone
,
@"phoneCode"
:
phoneCode
}
success
:^
(
id
_Nonnull
response
)
{
// self->isSend = YES;
// self->isSend = YES;
NSLog
(
@"getSmsCode response %@"
,
response
);
NSLog
(
@"getSmsCode response %@"
,
response
);
if
([[
response
objectForKey
:
@"status"
]
integerValue
]
==
200
){
if
([[
response
objectForKey
:
@"status"
]
integerValue
]
==
200
){
...
...
ZhiJi/Classes/Tools/Network/TQNetworkTools.m
View file @
df107d97
...
@@ -213,8 +213,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -213,8 +213,8 @@ static TQNetworkTools* _tools = nil;
// [dict setValue: @"1" forKey: @"tgtk"];
// [dict setValue: @"1" forKey: @"tgtk"];
// 获取BundleID
// 获取BundleID
//
[dict setValue: [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] forKey: @"pkg"];
[
dict
setValue
:
[[[
NSBundle
mainBundle
]
infoDictionary
]
objectForKey
:
@"CFBundleIdentifier"
]
forKey
:
@"pkg"
];
[
dict
setValue
:
@"com.app.zhiji"
forKey
:
@"pkg"
];
//cs
//
[dict setValue: @"com.app.zhiji" forKey: @"pkg"]; //cs
NSString
*
identifierForVendor
=
[[
data
Read
]
objectForKey
:
@"Identifier"
];;
NSString
*
identifierForVendor
=
[[
data
Read
]
objectForKey
:
@"Identifier"
];;
[
dict
setValue
:
identifierForVendor
forKey
:
@"device"
];
[
dict
setValue
:
identifierForVendor
forKey
:
@"device"
];
...
@@ -230,8 +230,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -230,8 +230,8 @@ static TQNetworkTools* _tools = nil;
// }
// }
//appLs
//appLs
//
[dict setValue: @"040087e60c36fd63" forKey: @"appLs"];
[
dict
setValue
:
@"040087e60c36fd63"
forKey
:
@"appLs"
];
[
dict
setValue
:
@"d904ceaa1b3f6444"
forKey
:
@"appLs"
];
//cs
//
[dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"]; //cs
// 设置网络类型
// 设置网络类型
[[
AFNetworkReachabilityManager
sharedManager
]
setReachabilityStatusChangeBlock
:
^
(
AFNetworkReachabilityStatus
status
)
{
[[
AFNetworkReachabilityManager
sharedManager
]
setReachabilityStatusChangeBlock
:
^
(
AFNetworkReachabilityStatus
status
)
{
...
@@ -556,8 +556,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -556,8 +556,8 @@ static TQNetworkTools* _tools = nil;
[
dict
setValue
:
identifierForVendor
forKey
:
@"device"
];
[
dict
setValue
:
identifierForVendor
forKey
:
@"device"
];
NSLog
(
@"identifierForVendor info == %@"
,
identifierForVendor
);
NSLog
(
@"identifierForVendor info == %@"
,
identifierForVendor
);
// 获取BundleID
// 获取BundleID
//
[dict setValue: [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] forKey: @"pkg"];
[
dict
setValue
:
[[[
NSBundle
mainBundle
]
infoDictionary
]
objectForKey
:
@"CFBundleIdentifier"
]
forKey
:
@"pkg"
];
[
dict
setValue
:
@"com.app.zhiji"
forKey
:
@"pkg"
];
//
[dict setValue: @"com.app.zhiji" forKey: @"pkg"];
// 设置时间戳
// 设置时间戳
NSTimeInterval
today
=
[[
NSDate
date
]
timeIntervalSince1970
]
*
1000
;
NSTimeInterval
today
=
[[
NSDate
date
]
timeIntervalSince1970
]
*
1000
;
...
@@ -569,8 +569,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -569,8 +569,8 @@ static TQNetworkTools* _tools = nil;
// }
// }
//appLs
//appLs
//
[dict setValue: @"040087e60c36fd63" forKey: @"appLs"];
[
dict
setValue
:
@"040087e60c36fd63"
forKey
:
@"appLs"
];
[
dict
setValue
:
@"d904ceaa1b3f6444"
forKey
:
@"appLs"
];
//
[dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"];
[
dict
addEntriesFromDictionary
:[
self
signParams
:
dict
]];
[
dict
addEntriesFromDictionary
:[
self
signParams
:
dict
]];
...
...
ZhiJi/Classes/Tools/PCH/ResourceHeader.pch
View file @
df107d97
...
@@ -26,15 +26,15 @@
...
@@ -26,15 +26,15 @@
//#define ServerHost @"https://feedapitest.zhangxinhulian.com"
//#define ServerHost @"https://feedapitest.zhangxinhulian.com"
//#define ServerHostFeed @"https://feedapitest.zhangxinhulian.com"
//#define ServerHostFeed @"https://feedapitest.zhangxinhulian.com"
#define ServerReport @"http://report.zhangxinhulian.com"
//
#define ServerReport @"http://report.zhangxinhulian.com"
#define ServerHost @"https://feedapi.zhangxinhulian.com"
//
#define ServerHost @"https://feedapi.zhangxinhulian.com"
#define ServerHostFeed @"https://feedapi.zhangxinhulian.com"
//
#define ServerHostFeed @"https://feedapi.zhangxinhulian.com"
//
//
//#else
//#else
//
#define ServerReport @"http://report.linking100.com"
#define ServerReport @"http://report.linking100.com"
//
#define ServerHost @"https://feedapi.linking100.com"
#define ServerHost @"https://feedapi.linking100.com"
//
#define ServerHostFeed @"https://feedapi.linking100.com"
#define ServerHostFeed @"https://feedapi.linking100.com"
//#endif
//#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment