You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
735 B
30 lines
735 B
/*
|
|
* ====================================================
|
|
* package :
|
|
* author : Created by nansi.
|
|
* time : 2019-08-09 15:29
|
|
* remark :
|
|
* ====================================================
|
|
*/
|
|
|
|
import 'package:meiqia_plugin/meiqia_plugin.dart';
|
|
|
|
import 'package:recook/constants/header.dart';
|
|
|
|
class MQManager {
|
|
static const String appKey = "0aff2f19280aa0c2dfa2cc12425a71fd";
|
|
|
|
static initial() {
|
|
MeiqiaPlugin.initMeiQia(appKey,success: (code,msg) {
|
|
DPrint.printf("美洽注册成功");
|
|
|
|
},failure: (code,msg) {
|
|
DPrint.printf("美洽注册失败 --- $msg");
|
|
});
|
|
}
|
|
|
|
static goToChat({String userId, Map userInfo}) {
|
|
MeiqiaPlugin.chat(userInfo: userInfo,userID: userId);
|
|
}
|
|
}
|