123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- package com.caimei.service.auth;
- import com.caimei.model.ResponseJson;
- import com.caimei.model.dto.ShopInfoDto;
- import com.caimei.model.vo.*;
- import com.github.pagehelper.PageInfo;
- import org.springframework.web.multipart.MultipartFile;
- import java.util.List;
- /**
- * Description
- *
- * @author : Aslee
- * @date : 2021/5/11
- */
- public interface ShopService {
- /**
- * 供应商列表数据
- *
- *
- * @param listType 列表类型:1供应商列表,2审核列表
- * @param shopName 供应商名称
- * @param loginAccount
- * @param shopType 供应商类型:1品牌方,2代理商
- * @param brandId 所属品牌Id
- * @param mobile 手机号
- * @param linkMan 联系人
- * @param lowerAuditStatus 下级审核状态,0未完成审核,1已完成审核
- * @param pageNum 第几页
- * @param pageSize 一页多少条
- * @return PageInfo<ShopVo>
- */
- ResponseJson<PageInfo<ShopListVo>> getShopList(Integer listType, String shopName, String loginAccount, Integer shopType, Integer brandId, String mobile, String linkMan, Integer lowerAuditStatus, Integer sendStatus, Integer pageNum, Integer pageSize);
- /**
- * 更新供应商状态
- * @param authUserId 供应商用户id
- * @param status 供应商状态
- * @return ResponseJson
- */
- ResponseJson updateShopStatus(Integer authUserId, Integer status);
- /**
- * 重置供应商密码
- * @param authUserId 供应商用户id
- * @return ResponseJson
- */
- ResponseJson resetShopPassword(Integer authUserId);
- /**
- * 上传文件
- *
- * @param authUserId 供应商用户id
- * @param brandId :品牌id
- * @param file 上传文件
- * @return
- */
- ResponseJson<AuthFileVo> uploadFile(Integer authUserId, Integer brandId, MultipartFile file);
- /**
- * 添加供应商
- * @param shopSaveDto {
- * shopType 供应商类型:1代理商,2品牌方
- * brandId 品牌id
- * shopName 供应商名称
- * mobile 手机号
- * linkMan 联系人
- * countryId 产地国家id
- * brandAuthLogo 品牌授权logo
- * shopStatus 供应商状态:0停用 1启用
- * securityLink 官网认证链接
- * statementType 代理声明类型:1弹窗 2链接 3图片 4文件(.doc .ppt .pdf)
- * statementContent 声明弹窗内容
- * statementLink 声明链接
- * statementImage 声明图片
- * statementFileId 声明文件id
- * createBy 创建人用户id
- * }
- * @param logo
- * @param qrCodeImage
- * @param wxAccountType
- * @param appId
- * @param appSecret
- * @param shopInfoList
- */
- ResponseJson saveShop(Integer authUserId, Integer shopType, String shopName, String mobile, String linkMan, Integer shopStatus, String logo, String qrCodeImage, Integer wxAccountType, String appId, String appSecret, Integer createBy, List<ShopInfoDto> shopInfoList);
- /**
- * 获取供应商回显数据
- * @param authUserId 供应商用户id
- * @return ShopVo
- */
- ResponseJson<ShopFormVo> getShopFormData(Integer authUserId);
- /**
- * 根据供应商用户id删除代理声明文件
- */
- void deleteFile(Integer authUserId,Integer brandId);
- /**
- * 品牌列表
- * @param type 1品牌方品牌列表,2代理商品牌列表
- * @param authUserId 供应商用户id
- * @return AuthVo
- */
- ResponseJson<List<BrandVo>> getBrandList(Integer type, Integer authUserId);
- /**
- * 产地国家列表
- * @return CountryVo
- */
- ResponseJson<List<CountryVo>> getCountryList();
- /**
- * 用户反馈列表
- * @param authUserId 供应商用户id
- * @param clubName
- * @param mobile
- * @param handleStatus
- * @param pageNum
- * @param pageSize
- * @return
- */
- ResponseJson<PageInfo<FeedbackVo>> getFeedbackList(Integer authUserId, String clubName, String mobile, Integer handleStatus, Integer pageNum, Integer pageSize);
- /**
- * 用户反馈表单数据
- * @param feedbackId 反馈id
- * @return
- */
- ResponseJson<FeedbackVo> getFeedbackFormData(Integer feedbackId);
- /**
- * 处理用户反馈
- * @param feedbackId 反馈id
- * @param handleResult 处理结果
- * @return
- */
- ResponseJson handleFeedback(Integer feedbackId, String handleResult);
- /**
- * 根据供应商id查询供应商下所有品牌
- * @param authUserId 供应商id
- * @return
- */
- List<String> getShopBrands(Integer authUserId);
- /**
- * 发送验证码
- * @param mobile
- * @return
- */
- ResponseJson sendVerifyCode(String mobile);
- /**
- * 更改手机号
- */
- ResponseJson changeMobile(Integer authUserId, String oldMobile, String verifyCode, String newMobile);
- /**
- * 绑定登录账号
- */
- ResponseJson bindLoginAccount(Integer authUserId, String mobile, String verifyCode, String loginAccount);
- /**
- * 更新供应商下所有机构授权牌
- * @param authUserId
- * @return
- */
- ResponseJson updateAllAuthImage(Integer authUserId);
- }
|