Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
1717b7cf
Commit
1717b7cf
authored
Nov 27, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级 flutter
parent
1883a328
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
config.gradle
config.gradle
+6
-6
YDLCommonPlugin.kt
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
+1
-1
No files found.
config.gradle
View file @
1717b7cf
...
...
@@ -48,9 +48,9 @@ ext {
"m-fm"
:
"0.0.20"
,
"m-user"
:
"0.0.33"
,
// 接入flutter的模块
"m-tests"
:
"0.0.11.
9
"
,
"m-muse"
:
"0.0.17.
9
"
,
"m-course"
:
"0.0.28.
9
"
,
"m-tests"
:
"0.0.11.
10
"
,
"m-muse"
:
"0.0.17.
10
"
,
"m-course"
:
"0.0.28.
10
"
,
//-------------- 业务模块 API 层 --------------
"m-audioim-api"
:
"0.0.5"
,
...
...
@@ -76,7 +76,7 @@ ext {
"router"
:
"0.0.1"
,
"ydl-net"
:
"0.0.2"
,
"ydl-utils"
:
"0.0.3"
,
"ydl-flutter-base"
:
"0.0.5.1
1
"
,
"ydl-flutter-base"
:
"0.0.5.1
2
"
,
]
ydlCompileVersion
=
[
...
...
@@ -117,7 +117,7 @@ ext {
"router"
:
"0.0.1"
,
"ydl-net"
:
"0.0.2"
,
"ydl-utils"
:
"0.0.3"
,
"ydl-flutter-base"
:
"0.0.5.1
1
"
,
"ydl-flutter-base"
:
"0.0.5.1
2
"
,
]
dependencies
=
[
...
...
@@ -255,7 +255,7 @@ ext {
//flutter功能组件升级===>发布ydl-flutter组件===>引用flutter相关的业务模块
"ydl-flutter-base"
:
"com.ydl:ydl-flutter-base:${ydlCompileVersion["
ydl
-
flutter
-
base
"]}"
,
//组件化项目中的flutter base模块
"ydl-flutter"
:
"com.ydl:ydl-flutter:0.0.15.
4
@aar"
,
//flutter aar
"ydl-flutter"
:
"com.ydl:ydl-flutter:0.0.15.
5
@aar"
,
//flutter aar
"ydl-flutter-sp"
:
"com.ydl:ydl-flutter-sp:0.0.2@aar"
,
//flutter 缓存 aar
//基础组件 <<--- 先发这个,发完改这里的版本号
...
...
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
View file @
1717b7cf
...
...
@@ -55,7 +55,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
val
loginBean
=
ModularServiceManager
.
getPlatformUserService
()
?.
getUser
()
val
mMap
=
mutableMapOf
<
String
,
Any
>()
var
uid
=
loginBean
?.
userId
?:
""
mMap
[
"isDevelopment"
]
=
BuildConfig
.
DEBUG
mMap
[
"isDevelopment"
]
=
BuildConfig
.
DEBUG
mMap
[
"uid"
]
=
if
(
TextUtils
.
isEmpty
(
uid
))
"0"
else
uid
mMap
[
"accessToken"
]
=
loginBean
?.
token
?:
""
?:
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment