Merge branch 'master' of https://gitee.com/zhijiantianya/onemall
This commit is contained in:
commit
6d86e349ef
@ -12,9 +12,9 @@
|
|||||||
<artifactId>promotion</artifactId>
|
<artifactId>promotion</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<modules>
|
<modules>
|
||||||
<module>promotion-service-api</module>
|
<!-- <module>promotion-service-api</module>-->
|
||||||
<module>promotion-service-impl</module>
|
<!-- <module>promotion-service-impl</module>-->
|
||||||
<module>promotion-application</module>
|
<!-- <module>promotion-application</module>-->
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -36,21 +36,21 @@ public class AdminsSmsSignController {
|
|||||||
|
|
||||||
@PostMapping("add")
|
@PostMapping("add")
|
||||||
@ApiOperation("签名-添加")
|
@ApiOperation("签名-添加")
|
||||||
public CommonResult addSign(@RequestBody AddSignRequest addSignRequest) {
|
public CommonResult<?> addSign(@RequestBody AddSignRequest addSignRequest) {
|
||||||
smsService.addSign(AdminsSmsConvert.INSTANCE.convert(addSignRequest));
|
smsService.addSign(AdminsSmsConvert.INSTANCE.convert(addSignRequest));
|
||||||
return CommonResult.success(null);
|
return CommonResult.success(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PutMapping("update")
|
@PutMapping("update")
|
||||||
@ApiOperation("签名-更新")
|
@ApiOperation("签名-更新")
|
||||||
public CommonResult updateSign(@RequestBody UpdateSignRequest updateSignRequest) {
|
public CommonResult<?> updateSign(@RequestBody UpdateSignRequest updateSignRequest) {
|
||||||
smsService.updateSign(AdminsSmsConvert.INSTANCE.convert(updateSignRequest));
|
smsService.updateSign(AdminsSmsConvert.INSTANCE.convert(updateSignRequest));
|
||||||
return CommonResult.success(null);
|
return CommonResult.success(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@DeleteMapping("deleted")
|
@DeleteMapping("deleted")
|
||||||
@ApiOperation("签名-删除")
|
@ApiOperation("签名-删除")
|
||||||
public CommonResult deletedSign(@RequestParam("id") Integer id) {
|
public CommonResult<?> deletedSign(@RequestParam("id") Integer id) {
|
||||||
smsService.deleteSign(id);
|
smsService.deleteSign(id);
|
||||||
return CommonResult.success(null);
|
return CommonResult.success(null);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user