修改二维码请求类型/删除参数
parent
fe85a885b2
commit
ecf2d4d66f
|
@ -41,7 +41,7 @@ public class PlaFormController extends BaseController {
|
|||
@GetMapping("/list")
|
||||
public R<List<PlatForm>> list() {
|
||||
|
||||
return platFormService.listplatForm(platForm);
|
||||
return R.ok(platFormService.listplatForm());
|
||||
}
|
||||
|
||||
/***
|
||||
|
|
|
@ -16,7 +16,7 @@ import java.util.List;
|
|||
*/
|
||||
@Mapper
|
||||
public interface PlatFormMapper extends BaseMapper<PlatForm> {
|
||||
List<PlatForm> listplatForm(PlatForm platForm);
|
||||
List<PlatForm> listplatForm();
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.List;
|
|||
*/
|
||||
public interface PlatFormService extends IService<PlatForm> {
|
||||
|
||||
List<PlatForm> listplatForm(PlatForm platForm);
|
||||
List<PlatForm> listplatForm();
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ import com.mcwl.resource.domain.request.PlatForm;
|
|||
import com.mcwl.resource.mapper.PlatFormMapper;
|
||||
import com.mcwl.resource.service.PlatFormService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
@ -31,12 +30,12 @@ public class PlatFormServiceImpl extends ServiceImpl<PlatFormMapper, PlatForm> i
|
|||
/**
|
||||
* 平台官方app联系方式列表
|
||||
*
|
||||
* @param platForm
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<PlatForm> listplatForm(PlatForm platForm) {
|
||||
return baseMapper.listplatForm(platForm);
|
||||
public List<PlatForm> listplatForm( ) {
|
||||
return baseMapper.listplatForm();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue