Browse Source

其他-代码回滚

liyijie 1 year ago
parent
commit
f6e6d9ca6d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      PDF Office/Helper/ServiceHelper.cs

+ 3 - 3
PDF Office/Helper/ServiceHelper.cs

@@ -423,12 +423,12 @@ namespace PDF_Master.Helper
                             {
                                 Settings.Default.UserDate.subscribeid = (string)info["id"];
                                 Settings.Default.UserDate.subscribeuserid = (string)info["userId"];
-                                Settings.Default.UserDate.subscribeplatform = 1;
-                                Settings.Default.UserDate.subscribestatus = 1;
+                                Settings.Default.UserDate.subscribeplatform = (int)info["platform"];
+                                Settings.Default.UserDate.subscribestatus = (int)info["status"];
                                 if (Settings.Default.UserDate.subscribestatus > 0)
                                 {
                                     Settings.Default.UserDate.subscribeendDate = (string)info["endDate"];
-                                    Settings.Default.UserDate.subscribepayType = 1;
+                                    Settings.Default.UserDate.subscribepayType = (int)info["payType"];
                                 }