Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
b371fcf7
Commit
b371fcf7
authored
Dec 30, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f697c92e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
AIStudentController.cs
Edu.WebApi/Controllers/AI/AIStudentController.cs
+5
-4
No files found.
Edu.WebApi/Controllers/AI/AIStudentController.cs
View file @
b371fcf7
...
@@ -166,14 +166,15 @@ namespace Edu.WebApi.Controllers.AI
...
@@ -166,14 +166,15 @@ namespace Edu.WebApi.Controllers.AI
{
{
return
ApiResult
.
Failed
(
"当前应用供应商未启用"
);
return
ApiResult
.
Failed
(
"当前应用供应商未启用"
);
}
}
if
(
string
.
IsNullOrWhiteSpace
(
keyWord
))
{
return
ApiResult
.
Failed
(
"请输入关键字"
);
}
if
((
Type
==
1
||
Type
==
3
)
&&
string
.
IsNullOrWhiteSpace
(
imgUrl
))
if
((
Type
==
1
||
Type
==
3
)
&&
string
.
IsNullOrWhiteSpace
(
imgUrl
))
{
{
return
ApiResult
.
Failed
(
"请上传图片信息"
);
return
ApiResult
.
Failed
(
"请上传图片信息"
);
}
}
else
if
((
Type
==
2
||
Type
==
4
)
&&
string
.
IsNullOrWhiteSpace
(
keyWord
))
{
return
ApiResult
.
Failed
(
"请输入关键字"
);
}
var
basicConfigureModel
=
new
BasicConfigureModel
();
var
basicConfigureModel
=
new
BasicConfigureModel
();
if
(!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
BasicConfigure
))
if
(!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
BasicConfigure
))
{
{
...
...
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