Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Dolphins
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
Dolphins
Commits
a959b63d
Commit
a959b63d
authored
Aug 01, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. store pay
parent
d0f61292
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
199 additions
and
107 deletions
+199
-107
project.pbxproj
Dolphins.xcodeproj/project.pbxproj
+0
-40
AppDelegate.m
Dolphins/AppDelegate.m
+3
-1
ZTPurchaseManager.swift
Dolphins/Classes/Goods/Controller/ZTPurchaseManager.swift
+183
-53
ZJGoodsMagager.m
Dolphins/Classes/Tools/GoodsManager/ZJGoodsMagager.m
+13
-13
No files found.
Dolphins.xcodeproj/project.pbxproj
View file @
a959b63d
This diff is collapsed.
Click to expand it.
Dolphins/AppDelegate.m
View file @
a959b63d
...
...
@@ -60,7 +60,9 @@
[
data
InitPlist
];
[
KeychainItemManager
ReadUUIDAndNickName
];
[
ZTPurchaseManager
launchWithSwiftyStoreKit
];
[
ZTPurchaseManager
launchWithSwiftyStoreKitWithSuccess
:
^
{
}];
//创蓝
[
ZJOauthLoginManager
initWithShanYanAppID
:
ShanYanAppID
];
...
...
Dolphins/Classes/Goods/Controller/ZTPurchaseManager.swift
View file @
a959b63d
This diff is collapsed.
Click to expand it.
Dolphins/Classes/Tools/GoodsManager/ZJGoodsMagager.m
View file @
a959b63d
...
...
@@ -80,7 +80,7 @@ static ZJGoodsMagager * manager;
-
(
void
)
goodsWithVC
:
(
UIViewController
*
)
currentVC
callBack
:
(
resultCallBack
)
callBack
{
if
([
self
ckeak
]){
//
if ([self ckeak]){
[
MobClick
event
:
@"go_member_with_Apple"
];
ZJGoodsViewController
*
goods
=
[[
ZJGoodsViewController
alloc
]
init
];
...
...
@@ -93,18 +93,18 @@ static ZJGoodsMagager * manager;
[
weak
.
navigationController
popViewControllerAnimated
:
YES
];
};
}
else
{
[
MobClick
event
:
@"go_member_with_H5"
];
_tradeNoCount
=
0
;
_goodsCount
=
0
;
_callBack
=
callBack
;
_currentVC
=
currentVC
;
if
([
self
.
products
firstObject
])
{
[
self
getUrl_new
:
0
];
}
else
{
[
self
getGoods
];
}
}
//
}else{
//
[MobClick event:@"go_member_with_H5"];
//
_tradeNoCount = 0;
//
_goodsCount = 0;
//
_callBack = callBack;
//
_currentVC = currentVC;
//
if ([self.products firstObject]) {
//
[self getUrl_new:0];
//
}else{
//
[self getGoods];
//
}
//
}
}
-
(
void
)
getGoods
{
...
...
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