chengyanfang

3.1.0

... ... @@ -29,7 +29,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
print(url)
if url.scheme == "hh-medic.com" {
NotificationCenter.default.post(name: NSNotification.Name(rawValue: "WX_H5_PAY"), object: nil)
return true
}
return true
}
... ...
... ... @@ -27,6 +27,8 @@
<string></string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string></string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
... ...
... ... @@ -76,9 +76,12 @@ class SettingVC : UIViewController {
let userCenterSetting = ("个人中心设置",[
("是否隐藏个人中心入口",HHSDKOptions.default.mUserCenterOptions.hideUserCenter,true),
("是否展示激活码入口",HHSDKOptions.default.mUserCenterOptions.enableActivate,true),
("是否展示档案库入口",HHSDKOptions.default.mUserCenterOptions.enableMedical,true),
("隐藏个人中心入口",HHSDKOptions.default.mUserCenterOptions.hideUserCenter,true),
("展示激活码入口",HHSDKOptions.default.mUserCenterOptions.enableActivate,true),
("展示档案库入口",HHSDKOptions.default.mUserCenterOptions.enableMedical,true),
("档案库可以增加成员",HHSDKOptions.default.mUserCenterOptions.enableAddMemberInDoc,true),
("展示会员信息",HHSDKOptions.default.mUserCenterOptions.enableVipInfo,true),
("展示购买VIP",HHSDKOptions.default.mUserCenterOptions.enableBuyService,true),
])
sections.append(userCenterSetting)
... ... @@ -223,6 +226,15 @@ extension SettingVC {
case (3,2):
HHSDKOptions.default.mUserCenterOptions.enableMedical = isOpen
case (3,3):
HHSDKOptions.default.mUserCenterOptions.enableAddMemberInDoc = isOpen
case (3,4):
HHSDKOptions.default.mUserCenterOptions.enableVipInfo = isOpen
case (3,5):
HHSDKOptions.default.mUserCenterOptions.enableBuyService = isOpen
default:
break
}
... ...