Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
808f26d0
authored
Nov 08, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix:小程序logo设置接口
parent
2f01a39e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
1 deletions
server-module/src/main/java/com/makeit/module/controller/sys/PlatLogoConfigController.java
server-module/src/main/java/com/makeit/module/controller/wechat/sys/PlatLogoConfigWechatController.java
server-module/src/main/java/com/makeit/module/controller/sys/PlatLogoConfigController.java
View file @
808f26d0
...
...
@@ -48,7 +48,7 @@ public class PlatLogoConfigController {
return
ApiResponseUtils
.
success
(
data
);
}
@ApiOperation
(
"忽略租户"
)
@ApiOperation
(
"忽略租户
查看
"
)
@PostMapping
(
"viewIgnore"
)
@AuthIgnore
@TenantIdIgnore
...
...
server-module/src/main/java/com/makeit/module/controller/wechat/sys/PlatLogoConfigWechatController.java
0 → 100644
View file @
808f26d0
package
com
.
makeit
.
module
.
controller
.
wechat
.
sys
;
import
com.makeit.common.response.ApiResponseEntity
;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.dto.platform.sys.PlatLogoConfigDTO
;
import
com.makeit.dto.platform.sys.PlatLogoConfigDTOVO
;
import
com.makeit.dto.platform.sys.PlatLogoConfigQueryDTO
;
import
com.makeit.global.annotation.AuthIgnore
;
import
com.makeit.global.aspect.tenant.TenantIdIgnore
;
import
com.makeit.service.platform.sys.PlatLogoConfigService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @Author:lzy
* @Date:2023/9/12 10:41
* @Describe:
*/
@Api
(
tags
=
"LOGO设置"
)
@RestController
@RequestMapping
(
"/plat/wechat/sys/logo/config/"
)
public
class
PlatLogoConfigWechatController
{
@Autowired
private
PlatLogoConfigService
platLogoConfigService
;
@ApiOperation
(
"设置LOGO"
)
@PostMapping
(
"add"
)
public
ApiResponseEntity
<?>
add
(
@RequestBody
PlatLogoConfigDTO
dto
)
{
platLogoConfigService
.
add
(
dto
);
return
ApiResponseUtils
.
success
();
}
@ApiOperation
(
"查看"
)
@PostMapping
(
"view"
)
public
ApiResponseEntity
<
PlatLogoConfigDTOVO
>
view
(
@RequestBody
PlatLogoConfigQueryDTO
dto
)
{
PlatLogoConfigDTOVO
data
=
platLogoConfigService
.
view
(
dto
);
return
ApiResponseUtils
.
success
(
data
);
}
@ApiOperation
(
"忽略租户查看"
)
@PostMapping
(
"viewIgnore"
)
@AuthIgnore
@TenantIdIgnore
public
ApiResponseEntity
<
PlatLogoConfigDTOVO
>
viewIgnore
(
@RequestBody
PlatLogoConfigQueryDTO
dto
)
{
PlatLogoConfigDTOVO
data
=
platLogoConfigService
.
view
(
dto
);
return
ApiResponseUtils
.
success
(
data
);
}
}
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