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
921f504f
Commit
921f504f
authored
Dec 01, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:域名修改
parent
6d030f2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
+12
-15
config.gradle
config.gradle
+5
-5
UserApi.kt
m-user/src/main/java/com/yidianling/user/http/UserApi.kt
+7
-10
No files found.
config.gradle
View file @
921f504f
...
...
@@ -8,9 +8,9 @@ ext {
"m-confide"
:
"0.0.49.10"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.8
6
"
,
"m-user"
:
"0.0.61.8
8
"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.6
1
"
,
"m-im"
:
"0.0.20.6
2
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -39,7 +39,7 @@ ext {
"ydl-webview"
:
"0.0.38.53"
,
"ydl-media"
:
"0.0.21.10"
,
"ydl-pay"
:
"0.0.18.19"
,
"ydl-medical-pay"
:
"0.0.01.
19
"
,
"ydl-medical-pay"
:
"0.0.01.
20
"
,
"m-audioim"
:
"0.0.49.29.37"
,
"ydl-flutter-base"
:
"0.0.14.26"
,
...
...
@@ -92,9 +92,9 @@ ext {
"m-confide"
:
"0.0.49.10"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.8
6
"
,
"m-user"
:
"0.0.61.8
8
"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.6
1
"
,
"m-im"
:
"0.0.20.6
2
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-user/src/main/java/com/yidianling/user/http/UserApi.kt
View file @
921f504f
package
com.yidianling.user.http
import
com.google.gson.internal.LinkedTreeMap
import
com.ydl.ydlcommon.base.config.YDLConstants
import
com.ydl.ydlcommon.base.config.YDL_DOMAIN
import
com.ydl.ydlcommon.base.config.YDL_DOMAIN_JAVA
import
com.ydl.ydlcommon.base.config.YDL_DOMAIN_LOGIN_BASE_URL
import
com.ydl.ydlcommon.base.config.*
import
com.ydl.ydlcommon.data.http.BaseAPIResponse
import
com.ydl.ydlcommon.data.http.BaseResponse
import
com.yidianling.user.api.bean.UserResponseBean
...
...
@@ -154,7 +151,7 @@ interface UserApi {
* 绑定手机号
*/
@POST
(
"login/v2/bind_phone"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
LOGIN_BASE
_URL
,
LOGIN_USER_PORT
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
JAVA
_URL
,
LOGIN_USER_PORT
)
fun
bindPhone
(
@Body
body
:
RequestBody
):
Observable
<
BaseResponse
<
Any
>>
/**
...
...
@@ -169,14 +166,14 @@ interface UserApi {
* 密码登录
*/
@POST
(
"api/client/login/v1/login_pwd"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
LOGIN_BASE
_URL
,
LOGIN_USER_PORT
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
JAVA
_URL
,
LOGIN_USER_PORT
)
fun
loginByPassword
(
@Body
body
:
RequestBody
):
Observable
<
BaseResponse
<
UserResponseBean
>>
/**
* 验证码登录
*/
@POST
(
"api/client/login/v1/login_sms"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
LOGIN_BASE
_URL
,
LOGIN_USER_PORT
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
JAVA
_URL
,
LOGIN_USER_PORT
)
fun
loginByMsgCode
(
@Body
body
:
RequestBody
):
Observable
<
BaseResponse
<
UserResponseBean
>>
/**
...
...
@@ -190,7 +187,7 @@ interface UserApi {
* 检查手机号来源
*/
@GET
(
"api/client/login/v1/phone_detection"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
LOGIN_BASE
_URL
,
LOGIN_USER_PORT
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
JAVA
_URL
,
LOGIN_USER_PORT
)
fun
checkPhoneStatus
(
@Query
(
"phone"
)
phone
:
String
,
@Query
(
"countryCode"
)
countryCode
:
String
,
...
...
@@ -219,7 +216,7 @@ interface UserApi {
* 发送登录验证码
*/
@GET
(
"api/client/login/v1/send_login_sms"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
LOGIN_BASE
_URL
,
LOGIN_USER_PORT
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_
JAVA
_URL
,
LOGIN_USER_PORT
)
fun
sendLoginMsgCode
(
@Query
(
"phone"
)
phone
:
String
,
@Query
(
"countryCode"
)
countryCode
:
String
,
...
...
@@ -248,7 +245,7 @@ interface UserApi {
*/
@FormUrlEncoded
@POST
(
"user/forbid_login"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
_URL
)
fun
userForbidLogin
(
@FieldMap
params
:
Map
<
String
,
String
>):
Observable
<
BaseAPIResponse
<
Boolean
>>
/**
...
...
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