Browse Source

Merge branch 'master' of http://git.mokasz.com/zouyong/mk_framework into master

fengcong 5 years ago
parent
commit
be5973de53

+ 1 - 1
mk_framework/assets/script/mk/sdk/BuglySDK.ts

@@ -112,7 +112,7 @@ export default class BuglySDK {
         };
         };
 
 
         let str = JSON.stringify(senddata);
         let str = JSON.stringify(senddata);
-        str = Utils.RSAEncrypt(str);
+        str = mk.encrypt.rsaEncrypt(str);
 
 
         httpRequest.send(str);
         httpRequest.send(str);
     }
     }

+ 6 - 0
mk_framework/assets/script/mk/system/MKSystem.ts

@@ -5,6 +5,7 @@ import AudioSystem from "./AudioSystem";
 import DataSystem from "./DataSystem";
 import DataSystem from "./DataSystem";
 import HttpSystem from "./HttpSystem";
 import HttpSystem from "./HttpSystem";
 import LoadResUtil from "../utils/LoadResUtil";
 import LoadResUtil from "../utils/LoadResUtil";
+import { EncryptUtil } from "../utils/EncryptUtil";
 
 
 
 
 class MKSystem {
 class MKSystem {
@@ -15,7 +16,11 @@ class MKSystem {
     /** 工具 */
     /** 工具 */
     time: TimeUtil;
     time: TimeUtil;
     file: FileUtil;
     file: FileUtil;
+<<<<<<< .mine
+    encrypt:EncryptUtil;
+=======
     loadRes:LoadResUtil;
     loadRes:LoadResUtil;
+>>>>>>> .theirs
 
 
     /** SDK */
     /** SDK */
     bugly:BuglySDK;
     bugly:BuglySDK;
@@ -32,6 +37,7 @@ class MKSystem {
         this.time = new TimeUtil();
         this.time = new TimeUtil();
         this.file = new FileUtil();
         this.file = new FileUtil();
         this.loader = new LoadResUtil();
         this.loader = new LoadResUtil();
+        this.encrypt = new EncryptUtil();
 
 
         //sdk
         //sdk
         this.bugly = new BuglySDK();
         this.bugly = new BuglySDK();