提交 470c09c0 authored 作者: JarvanMo's avatar JarvanMo

update doc

上级 ad17f891
## 0.5.0
* 增加了对拉起小程序的支持
* 删除了一些不必要的类
* 发送Auth验证Api调整
## 0.4.1 ## 0.4.1
* 修复iOS与其他库共存时,会有重复的错误 * 修复iOS与其他库共存时,会有重复的错误
......
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
We'll get a `code` by sending auth: We'll get a `code` by sending auth:
```dart ```dart
import 'package:fluwx/fluwx.dart' as fluwx; import 'package:fluwx/fluwx.dart' as fluwx;
fluwx.sendAuth(WeChatSendAuthModel( fluwx.sendAuth(
scope: "snsapi_userinfo", scope: "snsapi_userinfo", state: "wechat_sdk_demo_test")
state:"wechat_sdk_demo_test",
));
``` ```
Getting `access_token` is not supported by `fluwx`. Getting `access_token` is not supported by `fluwx`.
......
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
`Fluwx`目前只支持获取`code`,若要获取`access_token`请在服务器端完成。 `Fluwx`目前只支持获取`code`,若要获取`access_token`请在服务器端完成。
```dart ```dart
import 'package:fluwx/fluwx.dart' as fluwx; import 'package:fluwx/fluwx.dart' as fluwx;
fluwx.sendAuth(WeChatSendAuthModel( fluwx.sendAuth(
scope: "snsapi_userinfo", scope: "snsapi_userinfo", state: "wechat_sdk_demo_test")
state:"wechat_sdk_demo_test",
));
``` ```
### 返回值处理 ### 返回值处理
`fluwx.share(model)`返回的是一个`Map` `fluwx.share(model)`返回的是一个`Map`
......
name: fluwx name: fluwx
description: A implement of WeChatSDK on Flutter.Let's make it easier with Fluwx. description: A implement of WeChatSDK on Flutter.Let's make it easier with Fluwx.
version: 0.4.1 version: 0.5.0
author: JarvanMo <jarvan.mo@gmail.com> author: JarvanMo <jarvan.mo@gmail.com>
homepage: https://github.com/JarvanMo/fluwx homepage: https://github.com/JarvanMo/fluwx
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论