package com.ruoyi.admin.service;
|
|
import com.ruoyi.admin.entity.Agreement;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ruoyi.common.core.domain.R;
|
|
/**
|
* <p>
|
* 协议政策、司机操作指导 服务类
|
* </p>
|
*
|
* @author hjl
|
* @since 2024-05-29
|
*/
|
public interface AgreementService extends IService<Agreement> {
|
|
/**
|
* 根据类型获取注册协议、隐私政策、司机操作指南
|
*
|
* @param type 查询类型
|
* @return 详细信息
|
*/
|
R<Agreement> dataInfo(Integer type);
|
|
/**
|
* 保存政策协议
|
*
|
* @param agreement 协议信息
|
* @return 保存结果
|
*/
|
R<String> saveData(Agreement agreement);
|
}
|