company_wechat

一个简单地集成企业微信登录功能的插件。

pub package

使用

import 'package:company_wechat/company_wechat.dart';

void login(BuildContext context) async {

	//企业微信登录参数
	String appId = "***";
    String schema = "***";
    String agentId = "***";
    
    //登录
    var result = await CompanyWechat.companyWeChatLogin(appId, agentId, schema);
    
    //返回结果
    var code = result["code"];
    var errCode = result["errCode"];
    var platform = result["platform"];
 }

Libraries

CompanyWechatEntity
company_wechat