Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
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
bp
ShenghuoquanBusiness
Commits
8aa86ade
Commit
8aa86ade
authored
Jun 23, 2021
by
yinjiacheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix SHQBD-212 企业员工状态下基本信息页屏蔽修改生活号名称入口
parent
5176e97e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
24 deletions
+31
-24
GetLifeAccountInfoByIdBean.kt
...n/newscontent/http/httpbean/GetLifeAccountInfoByIdBean.kt
+29
-22
MerchantInfoActivity.kt
...henghuoquan/newscontent/ui/center/MerchantInfoActivity.kt
+2
-2
No files found.
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/http/httpbean/GetLifeAccountInfoByIdBean.kt
View file @
8aa86ade
...
...
@@ -9,27 +9,34 @@ import java.io.Serializable
*/
class
GetLifeAccountInfoByIdBean
{
data class
Request
(
val
life_account_id
:
Long
)
data class
Request
(
val
life_account_id
:
Long
)
data class
Response
(
val
audit_status
:
Int
,
val
create_time
:
String
,
val
enterprise_auth_record_id
:
Int
,
val
id_card
:
String
,
val
id_type
:
Int
,
val
legal_person
:
String
,
val
life_account_admin_id
:
Long
,
val
life_account_auth_status
:
Int
,
val
life_account_id
:
String
,
val
life_account_name
:
String
,
val
life_account_status
:
Int
,
val
life_account_type
:
Int
,
val
merchant_id
:
Int
,
val
occupation
:
String
,
val
update_time
:
String
,
val
code
:
String
,
val
name
:
String
,
val
mobile
:
String
,
)
:
Serializable
data class
Response
(
val
audit_status
:
Int
,
val
code
:
String
,
val
create_time
:
String
,
val
enterprise_auth_record_id
:
Int
,
val
id_card
:
String
,
val
id_type
:
Int
,
val
legal_person
:
String
,
val
life_account_admin_id
:
Long
,
val
life_account_auth_status
:
Int
,
val
life_account_id
:
String
,
val
life_account_name
:
String
,
val
life_account_status
:
Int
,
val
life_account_type
:
Int
,
val
merchant_id
:
Int
,
val
mobile
:
String
,
val
name
:
String
,
val
role_type
:
Int
,
val
tag
:
Tag
,
val
update_time
:
String
,
val
occupation
:
String
)
:
Serializable
}
\ No newline at end of file
data class
Tag
(
val
tag_key
:
Int
,
val
tag_text
:
String
)
:
Serializable
}
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/center/MerchantInfoActivity.kt
View file @
8aa86ade
...
...
@@ -83,8 +83,8 @@ class MerchantInfoActivity : BaseActivity<ActivityMerchantInfoBinding>(), Mercha
private
fun
initData
()
{
// 生活号名称
viewBind
.
ivLifeAccountName
.
fillContent
(
lifeAccountInfo
?.
life_account_name
)
if
(
lifeAccountInfo
?.
audit_status
!=
Constant
.
STATUS_AUDIT_UNDER
)
{
// 审核中不允许修改生活号名称
if
(
lifeAccountInfo
?.
audit_status
!=
Constant
.
STATUS_AUDIT_UNDER
&&
lifeAccountInfo
?.
role_type
!=
Constant
.
TYPE_ROLE_ORDINARY
)
{
// 审核中
和企业员工
不允许修改生活号名称
viewBind
.
ivLifeAccountName
.
showDetailEntry
()
}
// 生活号认证信息
...
...
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