|
@@ -86,7 +86,17 @@ class KMUserInfoVCModel: ObservableObject {
|
|
@abstract 跳转官网用户中心;1、官网未登录,则跳转到登录页面;2、官网已登录,则跳转到官网-个人中心;
|
|
@abstract 跳转官网用户中心;1、官网未登录,则跳转到登录页面;2、官网已登录,则跳转到官网-个人中心;
|
|
*/
|
|
*/
|
|
func skipAccountCenter() -> Void {
|
|
func skipAccountCenter() -> Void {
|
|
-
|
|
|
|
|
|
+ var urlPath = ""
|
|
|
|
+#if DEBUG
|
|
|
|
+ if kTestMode == 1{
|
|
|
|
+ urlPath = "http://test-pdf-pro.kdan.cn:3021/user-center/account-benefits"
|
|
|
|
+ } else {
|
|
|
|
+ urlPath = "https://pdfreaderpro.com/user-center/account-benefits"
|
|
|
|
+ }
|
|
|
|
+#else
|
|
|
|
+ urlPath = "https://pdfreaderpro.com/user-center/account-benefits"
|
|
|
|
+#endif
|
|
|
|
+ NSWorkspace.shared.open(URL(string: urlPath)!)
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|