Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
85bda354
Commit
85bda354
authored
Dec 11, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.18-法大大公司主体相关
parent
e7e73f80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
TFascCompanyController.java
...s/v1/yifu/archives/controller/TFascCompanyController.java
+13
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TFascCompanyController.java
View file @
85bda354
...
...
@@ -102,24 +102,35 @@ public class TFascCompanyController {
}
private
R
<
Boolean
>
judgeFieldMust
(
TFascCompany
tFascCompany
)
{
if
(
Common
.
isEmpty
(
tFascCompany
.
getAppId
()))
{
return
R
.
failed
(
"请填写appId!"
);
}
else
if
(
tFascCompany
.
getAppId
().
length
()
>
CommonConstants
.
INTEGER_HUNDRED
)
{
return
R
.
failed
(
"appId不能超过100个字符!"
);
}
if
(
Common
.
isEmpty
(
tFascCompany
.
getAppSecret
()))
{
return
R
.
failed
(
"请填写appSecret!"
);
}
else
if
(
tFascCompany
.
getAppSecret
().
length
()
>
CommonConstants
.
INTEGER_HUNDRED
)
{
return
R
.
failed
(
"appSecret不能超过100个字符!"
);
}
if
(
Common
.
isEmpty
(
tFascCompany
.
getAppUrl
()))
{
return
R
.
failed
(
"请填写AppUrl!"
);
return
R
.
failed
(
"请填写appUrl!"
);
}
else
if
(
tFascCompany
.
getAppUrl
().
length
()
>
CommonConstants
.
INTEGER_HUNDRED
)
{
return
R
.
failed
(
"appUrl不能超过100个字符!"
);
}
if
(
Common
.
isEmpty
(
tFascCompany
.
getOpenId
()))
{
return
R
.
failed
(
"请填写openCorpId!"
);
}
else
if
(
tFascCompany
.
getOpenId
().
length
()
>
CommonConstants
.
INTEGER_HUNDRED
)
{
return
R
.
failed
(
"openCorpId不能超过100个字符!"
);
}
if
(
Common
.
isEmpty
(
tFascCompany
.
getAppUrl
()))
{
return
R
.
failed
(
"请填写appUrl!"
);
}
else
if
(
tFascCompany
.
getAppUrl
().
length
()
>
CommonConstants
.
INTEGER_HUNDRED
)
{
return
R
.
failed
(
"appUrl不能超过100个字符!"
);
}
if
(
Common
.
isEmpty
(
tFascCompany
.
getBusinessId
()))
{
return
R
.
failed
(
"请填写businessId!"
);
}
else
if
(
tFascCompany
.
getBusinessId
().
length
()
>
CommonConstants
.
INTEGER_HUNDRED
)
{
return
R
.
failed
(
"businessId不能超过100个字符!"
);
}
return
null
;
}
...
...
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