|
@@ -305,7 +305,7 @@ namespace PDF_Master.ViewModels.Dialog.ServiceDialog
|
|
|
get { return _Subscriptionauto; }
|
|
|
set { _Subscriptionauto = value; }
|
|
|
}
|
|
|
- private string _uristore = "http://test-pdf-pro.kdan.cn:3021/windows/account/master-subscription?appid=16&productId=22&token=" + Settings.Default.AppProperties.LoginToken;
|
|
|
+ private string _uristore = "http://test-pdf-pro.kdan.cn:3021/windows/store/master-subscription?email=" + Settings.Default.UserDate.Email;
|
|
|
public string Uristore
|
|
|
{
|
|
|
get { return _uristore; }
|
|
@@ -315,11 +315,23 @@ namespace PDF_Master.ViewModels.Dialog.ServiceDialog
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+ private string _Uriuserdata = "http://test-pdf-pro.kdan.cn:3021/windows/account/master-subscription?appid=16&productId=22&token=" + Settings.Default.AppProperties.LoginToken;
|
|
|
+ public string Uriuserdata
|
|
|
+ {
|
|
|
+ get { return _Uriuserdata; }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ SetProperty(ref _Uriuserdata, value);
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
public DelegateCommand LinkstoreCommand { get; set; }
|
|
|
|
|
|
public DelegateCommand UserOutCommand { get; set; }
|
|
|
public DelegateCommand LogOutCommand { get; set; }
|
|
|
+ public DelegateCommand LinkuserdataCommand { get; set; }
|
|
|
+
|
|
|
|
|
|
UserDialogViewModel(IRegionManager regionManager, IDialogService dialogService)
|
|
|
{
|
|
@@ -329,6 +341,7 @@ namespace PDF_Master.ViewModels.Dialog.ServiceDialog
|
|
|
UserOutCommand = new DelegateCommand(UserOut);
|
|
|
LogOutCommand = new DelegateCommand(LogOut);
|
|
|
LinkstoreCommand = new DelegateCommand(Linkstore);
|
|
|
+ LinkuserdataCommand = new DelegateCommand(Linkuserdata);
|
|
|
|
|
|
|
|
|
TextSubscribeEndtime = Settings.Default.UserDate.subscribeendDate;
|
|
@@ -377,6 +390,11 @@ namespace PDF_Master.ViewModels.Dialog.ServiceDialog
|
|
|
|
|
|
Process.Start(new ProcessStartInfo(Uristore));
|
|
|
}
|
|
|
+ private void Linkuserdata()
|
|
|
+ {
|
|
|
+
|
|
|
+ Process.Start(new ProcessStartInfo(Uriuserdata));
|
|
|
+ }
|
|
|
|
|
|
|
|
|
public void UserOut()
|