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
ac4847a3
Commit
ac4847a3
authored
Jun 15, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:心理咨询一键登录
parent
ec0cce39
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
DemoGlobalConfig.java
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
+2
-2
config.gradle
config.gradle
+2
-2
OneKeyLoginHelp.kt
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
+2
-2
No files found.
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
View file @
ac4847a3
...
...
@@ -20,8 +20,8 @@ import java.util.List;
public
final
class
DemoGlobalConfig
implements
IConfigModule
{
String
APP_DOMAIN
=
"https://api.github.com/"
;
// public static String appEnv = YDLConstants.ENV_AUTO_TEST;
public
static
String
appEnv
=
YDLConstants
.
ENV_TEST
;
//
public static String appEnv = YDLConstants.ENV_PROD;
//
public static String appEnv = YDLConstants.ENV_TEST;
public
static
String
appEnv
=
YDLConstants
.
ENV_PROD
;
@Override
public
void
injectAppLifecycle
(
@NotNull
Context
context
,
@NotNull
List
<
IAppLifecycles
>
lifecycles
)
{
...
...
config.gradle
View file @
ac4847a3
...
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.49.09"
,
"m-consultant"
:
"0.0.59.79"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.3
6
"
,
"m-user"
:
"0.0.61.3
7
"
,
"m-home"
:
"0.0.22.64"
,
"m-im"
:
"0.0.19.20"
,
"m-dynamic"
:
"0.0.7.22"
,
...
...
@@ -91,7 +91,7 @@ ext {
"m-confide"
:
"0.0.49.09"
,
"m-consultant"
:
"0.0.59.79"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.3
6
"
,
"m-user"
:
"0.0.61.3
7
"
,
"m-home"
:
"0.0.22.64"
,
"m-im"
:
"0.0.19.20"
,
"m-dynamic"
:
"0.0.7.22"
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
View file @
ac4847a3
...
...
@@ -60,7 +60,7 @@ object OneKeyLoginHelp {
"i4Y/PVRAz4P/aqajQF7SOd3JUIKEsJbRurH04azLyX6N2upi292OrLHECRmtTVAqY24HFjwUjW1QjRwJA9aFbNzl3zl7L5DEDBZ4+QSU28vq34HccmAjAeUCC7qCHbN7QLVZqhVpuYUCMZ5fp2NdhANJl/741wHccdPk/Un5c4larDNuv1KEo2OZOds2J1WFiBx7giWtzli4NwMq9x+9sb0aXPZZQ9C9Kr8T/0+/ccYdotwFm7XWenNs/G3Jy1HHVqqOCDecKPbyXR+cV0jBUisSjv+SEUTfpcc3iUGH5OjZyQ6OfaLkdjATsr5K9oVP"
const
val
YDL_USER_APP
=
1
const
val
YDL_EXPERT_APP
=
2
const
val
YDL_XINLIZIXUN_APP
=
2
const
val
YDL_XINLIZIXUN_APP
=
3
var
mPhoneNumberAuthHelper
:
PhoneNumberAuthHelper
?
=
null
private
var
mAppType
:
Int
=
YDL_USER_APP
var
mIsFromGuide
=
true
// 是否来自启动页
...
...
@@ -68,7 +68,7 @@ object OneKeyLoginHelp {
var
mIsGetTokenSuccess
=
true
// 获取token是否成功,默认是成功
var
mIsOpenOneKeyLogin
=
true
// 是否开启一键登录
var
mAuthType
=
PhoneNumberAuthHelper
.
SERVICE_TYPE_LOGIN
// 1:本机号码校验 2: ⼀键登录
private
var
checkBoxHidden
=
true
// 协议勾选框是否展示
private
var
checkBoxHidden
=
true
// 协议勾选框是否展示
m-user
var
mPrivacyBeforeText
=
"登录即代表您同意"
// 隐私协议文案
private
lateinit
var
mActivity
:
BaseActivity
var
openInstallKey
=
""
...
...
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