|
@ -3,10 +3,7 @@ package com.elink.esua.epdc.controller; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.service.ActPhraseService; |
|
|
import com.elink.esua.epdc.service.ActPhraseService; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* APP常用语相关接口 |
|
|
* APP常用语相关接口 |
|
@ -29,7 +26,7 @@ public class ApiActPhraseController { |
|
|
* @date 2019/12/13 14:41 |
|
|
* @date 2019/12/13 14:41 |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("sagenumAddOne") |
|
|
@PostMapping("sagenumAddOne") |
|
|
public Result sagenumAddOneById(String id) { |
|
|
public Result sagenumAddOneById(@RequestBody String id) { |
|
|
return actPhraseService.sagenumAddOneById(id); |
|
|
return actPhraseService.sagenumAddOneById(id); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|