12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //
- // MineViewController.swift
- // RainbowPlanet
- //
- // Created by 南鑫林 on 2019/3/7.
- // Copyright © 2019 南鑫林. All rights reserved.
- //
- import UIKit
- import RxSwift
- class MineViewController: BaseViewController {
- override func viewWillAppear(_ animated: Bool) {
- super.viewWillAppear(animated)
- MobClick.beginLogPageView("MineViewController:我的页面")
- }
- override func viewWillDisappear(_ animated: Bool) {
- super.viewWillDisappear(animated)
- MobClick.endLogPageView("MineViewController:我的页面")
- }
- private let disposeBag = DisposeBag()
- override func viewDidLoad() {
- super.viewDidLoad()
- ShanYanManager.shared().preGetPhonenumber()
- }
- override func setupViews() {
- }
- override func setupLayouts() {
- }
- @IBAction func weixinLogin(_ sender: UIButton) {
- // UMManager.shared().loginGetUserInfo(platformType: UMSocialPlatformType.sina)
- }
- @IBAction func UMSharedAction(_ sender: UIButton) {
- UMManager.shared().UMSocialUI(shareType: ShareType.text, viewController: self, text: "test", thumbImage: "", shareImage: "", title: "", descr: "", webpageUrl: "")
- }
- @IBAction func OnceLogin(_ UIButton: Any) {
- ShanYanManager.shared().quickAuthLogin(successPayBlock: {
- }, failPayBlock: {
- })
- }
- }
|