package com.heketai.website.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.heketai.website.entity.WebsiteMenuContent;
import com.heketai.website.mapper.WebsiteMenuContentMapper;
import com.heketai.website.service.IWebsiteMenuContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WebsiteMenuContentServiceImpl extends ServiceImpl<WebsiteMenuContentMapper, WebsiteMenuContent> implements IWebsiteMenuContentService {

    @Autowired
    private WebsiteMenuContentMapper websiteMenuContentMapper;

    @Override
    public int insertMenuContent(WebsiteMenuContent websiteMenuContent) {
         int contentId = websiteMenuContentMapper.insertMenuContent(websiteMenuContent);
         return contentId;
    }
}
