|
@@ -5,6 +5,7 @@ import com.winhc.common.enums.CodeMsg;
|
|
|
import com.winhc.repal.model.dto.InitGroupDTO;
|
|
|
import com.winhc.repal.service.RepalGroupService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -16,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @Author: xda
|
|
|
* @Date: 2022/5/6 13:34
|
|
|
*/
|
|
|
-@Api(tags = "汇款宝组织")
|
|
|
+@Api(tags = "回款宝组织")
|
|
|
@RestController
|
|
|
@RequestMapping(value = "/group")
|
|
|
public class RepalGroupController {
|
|
@@ -25,11 +26,14 @@ public class RepalGroupController {
|
|
|
private RepalGroupService repalGroupService;
|
|
|
|
|
|
|
|
|
+ @ApiOperation("初始化管理员和组织")
|
|
|
@RequestMapping(value = "/init", method = RequestMethod.POST)
|
|
|
public BeanResponse<Boolean> initGroup(@RequestBody InitGroupDTO dto) {
|
|
|
return BeanResponse.success(CodeMsg.SUCCESS, repalGroupService.initGroup(dto));
|
|
|
}
|
|
|
|
|
|
+ //@ApiOperation("")
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|