diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml
new file mode 100644
index 0000000..8a4587e
--- /dev/null
+++ b/.github/workflows/issue.yml
@@ -0,0 +1,13 @@
+name: Notify
+on:
+ issues:
+ types: [opened]
+ issue_comment:
+ types: [created]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Notify
+ run: curl --location --request POST 'https://api.finogeeks.club/api/v1/finstore/webhooks/61b331d79b3dad0001f72fa2/postreceive?nonce=jhd2QyrArsc' --header "Content-Type:application/json" --data-raw '{"msg":"仓库 ${{github.repository}} 有新的 issue"}'
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
new file mode 100644
index 0000000..b5872ff
--- /dev/null
+++ b/.github/workflows/pull_request.yml
@@ -0,0 +1,11 @@
+name: Notify
+on:
+ pull_request:
+ branches: [ master ]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Notify
+ run: curl --location --request POST 'https://api.finogeeks.club/api/v1/finstore/webhooks/61b331d79b3dad0001f72fa2/postreceive?nonce=jhd2QyrArsc' --header "Content-Type:application/json" --data-raw '{"msg":"仓库 ${{github.repository}} 有新的 PR ${{ github.event.pull_request._links.html.href }}"}'
diff --git a/README.md b/README.md
index 33fb9e9..754c9d5 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,66 @@
-# 凡泰极客小程序 Flutter 插件
+
+
+
+
+
-本插件提供在 Flutter 运行环境中运行小程序能力。
+
+ FinClip Flutter SDK
+
+
+ 本项目提供在 Flutter 环境中运行小程序的能力
+
-## 集成
+
+ 👉 https://www.finclip.com/ 👈
+
-在项目pubspec.yaml文件中添加依赖
+
-```
+
![](https://img.shields.io/badge/%E4%B8%93%E5%B1%9E%E5%BC%80%E5%8F%91%E8%80%85-20000%2B-brightgreen)
+
![](https://img.shields.io/badge/%E5%B7%B2%E4%B8%8A%E6%9E%B6%E5%B0%8F%E7%A8%8B%E5%BA%8F-6000%2B-blue)
+
![](https://img.shields.io/badge/%E5%B7%B2%E9%9B%86%E6%88%90%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%BA%94%E7%94%A8-75%2B-yellow)
+
![](https://img.shields.io/badge/%E5%AE%9E%E9%99%85%E8%A6%86%E7%9B%96%E7%94%A8%E6%88%B7-2500%20%E4%B8%87%2B-orange)
+
+
![](https://img.shields.io/badge/FinClip--lightgrey?logo=zhihu&style=social)
+
![](https://img.shields.io/badge/FinClip%20Blog--lightgrey?logo=ghost&style=social)
+
+
+
+
+
+
+
+
+
+[官方网站](https://www.finclip.com/) | [示例小程序](https://www.finclip.com/#/market) | [开发文档](https://www.finclip.com/mop/document/) | [部署指南](https://www.finclip.com/mop/document/introduce/quickStart/cloud-server-deployment-guide.html) | [SDK 集成指南](https://www.finclip.com/mop/document/introduce/quickStart/intergration-guide.html) | [API 列表](https://www.finclip.com/mop/document/develop/api/overview.html) | [组件列表](https://www.finclip.com/mop/document/develop/component/overview.html) | [隐私承诺](https://www.finclip.com/mop/document/operate/safety.html)
+
+
+
+-----
+## 🤔 FinClip 是什么?
+
+有没有**想过**,开发好的微信小程序能放在自己的 APP 里直接运行,只需要开发一次小程序,就能在不同的应用中打开它,是不是很不可思议?
+
+有没有**试过**,在自己的 APP 中引入一个 SDK ,应用中不仅可以打开小程序,还能自定义小程序接口,修改小程序样式,是不是觉得更不可思议?
+
+这就是 FinClip ,就是有这么多不可思议!
+
+## ⚠️ Flutter 使用注意
+
+由于 FinClip 小程序技术主要通过 SDK 向 APP 提供运行小程序的能力,您看到的本仓库中长期未更新的文件并非“年久失修”,我们始终保持在 Flutter 环境中 SDK 资源的定期更新。如果您在集成使用过程中遇到任何问题,欢迎与我们联系。
+
+## ⚙️ Flutter 集成
+
+在项目 `pubspec.yaml` 文件中添加依赖
+
+```yaml
mop: latest.version
```
-## 示例
+## 🖥 示例
-```
+```flutter
import 'package:flutter/material.dart';
import 'dart:async';
import 'dart:io';
@@ -34,7 +82,7 @@ class _MyAppState extends State {
// Platform messages are asynchronous, so we initialize in an async method.
Future init() async {
- if (Platform.isIOS) {
+ if (Platform.isiOS) {
//com.finogeeks.mopExample
final res = await Mop.instance.initialize(
'22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6',
@@ -115,15 +163,13 @@ class _MyAppState extends State {
}
```
-## 接口文档
+## 📋 接口文档
-1. 初始化小程序
-
-在使用sdk提供的api之前必须要初始化sdk,初始化sdk的接口为
+### 1. 初始化小程序
+
+ 在使用 SDK 提供的 API 之前必须要初始化 SDK ,初始化 SDK 的接口如下
```
-
- ///
///
/// initialize mop miniprogram engine.
/// 初始化小程序
@@ -137,18 +183,16 @@ class _MyAppState extends State {
{String apiServer, String apiPrefix})
```
-使用示例:
-
+使用示例:
```
final res = await Mop.instance.initialize(
'22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6',
apiServer: 'https://api.finclip.com', apiPrefix: '/api/v1/mop');
```
-2. 打开小程序
+### 2. 打开小程序
```
- ///
///
/// open the miniprogram [appId] from the mop server.
/// 打开小程序
@@ -161,9 +205,9 @@ final res = await Mop.instance.initialize(
{final String path, final String query, final int sequence})
```
-3. 获取当前正在使用的小程序信息
+### 3. 获取当前正在使用的小程序信息
-当前小程序信息包括的字段有appId,name,icon,description,version,thumbnail
+当前小程序信息包括的字段有 `appId`, `name`, `icon`, `description`, `version`, `thumbnail`
```
///
@@ -175,7 +219,7 @@ final res = await Mop.instance.initialize(
Future