Browse Source

safety

master
fmk 3 years ago
parent
commit
374718e489
  1. 14
      README.md
  2. 1
      lib/main.dart

14
README.md

@ -68,9 +68,19 @@ samples, guidance on mobile development, and a full API reference.
#说明 #说明
huixiang_app/pubspec.yaml #依赖 huixiang_app/pubspec.yaml #依赖
接口build 依赖(注释了) 接口build 依赖(注释了) 命令: 项目根目录 > flutter pub run build_runner build
# retrofit_generator: ^1.4.1+3 # retrofit_generator: ^1.4.1+3
# build_runner: ^1.11.5 # build_runner: ^1.11.5
# json_serializable: ^3.5.1 # json_serializable: ^3.5.1
http接口需要build生成 需要上面3个依赖
min_api.dart 调用小程序的接口
retrofit_api.dart 调用app的接口
main.dart 程序入口 三方sdk初始化 路由
华为开放平台 15827991714 密码: fmk7895123654 (有问题➕手机号码微信)
小米开放平台 83364300@qq.com 具体问 :(汪姐)
推送:使用腾讯云推送 tpns 需扫码登录 (有问题同华为➕微信||或重新注册账号替换相关appKey)

1
lib/main.dart

@ -304,7 +304,6 @@ Map<String, WidgetBuilder> routers = <String, WidgetBuilder>{
'/router/qr_share': (context, {arguments}) => QrSharePage(), '/router/qr_share': (context, {arguments}) => QrSharePage(),
'/router/main_page': (context, {arguments}) => MainPage(), '/router/main_page': (context, {arguments}) => MainPage(),
'/router/test_page': (context, {arguments}) => TestPage(), '/router/test_page': (context, {arguments}) => TestPage(),
// '/router/ui_test': (context, {arguments}) => UITest(),
'/router/communityFollow': (context, {arguments}) => CommunityFollow(), '/router/communityFollow': (context, {arguments}) => CommunityFollow(),
'/router/releasePage': (context, {arguments}) => ReleasePage(), '/router/releasePage': (context, {arguments}) => ReleasePage(),
'/router/activity_list': (context, {arguments}) => ActivityList(), '/router/activity_list': (context, {arguments}) => ActivityList(),

Loading…
Cancel
Save