|
@@ -2,7 +2,7 @@ import { config } from "../config/config"
|
|
import { wx_pay_data } from "../data/data";
|
|
import { wx_pay_data } from "../data/data";
|
|
import { log } from "./log"
|
|
import { log } from "./log"
|
|
import { tools } from "./tools"
|
|
import { tools } from "./tools"
|
|
-import { util } from "./util";
|
|
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
onShareAppMessage() {
|
|
onShareAppMessage() {
|
|
return {
|
|
return {
|
|
@@ -11,8 +11,9 @@ export default {
|
|
};
|
|
};
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
export class sdkUtil {
|
|
export class sdkUtil {
|
|
-
|
|
|
|
|
|
+
|
|
public static login(cb:Function) {
|
|
public static login(cb:Function) {
|
|
switch (tools.getCurPlatform()){
|
|
switch (tools.getCurPlatform()){
|
|
case config.Platform.H5:
|
|
case config.Platform.H5:
|