|
@@ -37,6 +37,7 @@ public class IntroductionController extends BaseController {
|
|
@Log(title = "编辑医院介绍", businessType = BusinessType.UPDATE)
|
|
@Log(title = "编辑医院介绍", businessType = BusinessType.UPDATE)
|
|
@PostMapping("/edit")
|
|
@PostMapping("/edit")
|
|
public AjaxResult edit(@RequestBody Introduction introduction) {
|
|
public AjaxResult edit(@RequestBody Introduction introduction) {
|
|
|
|
+ introduction.setBrief(introduction.getBrief().replace("/dev-api", "").replace("/prod-api", ""));
|
|
boolean row = introductionService.updateById(introduction);
|
|
boolean row = introductionService.updateById(introduction);
|
|
if (row) {
|
|
if (row) {
|
|
redisCache.setCacheObject(CacheConstants.APP_INFO, introduction);
|
|
redisCache.setCacheObject(CacheConstants.APP_INFO, introduction);
|