[关闭]
@zhuchao941 2017-02-17T03:33:43.000000Z 字数 1600 阅读 823

加盟商后台接口

商家

ShopProvider

1.商家提交审核

  1. ShopDTO userProvider.submitVerify(shopVerifyParam param);

参数说明

  1. public class ShopSubmitVerifyParam{
  2. private Integer shopId;
  3. private String name;//商家登录账号
  4. private String title;//商家名称
  5. private String identifyId; //身份证号码
  6. private String addr;//商家地址
  7. private Integer lng;
  8. private Integer lat;
  9. private Byte shopType;//商家类型
  10. private Integer regionId;//区域id
  11. }

2.商家验证成功/失败

  1. void verifyShop(ShopVerifyResultParam param);

参数说明

  1. public class ShopVerifyResultParam{
  2. private Integer shopId;
  3. private boolean result;//审核结果 true:通过 false:拒绝
  4. }

3.修改登录手机号

  1. void changeLoginMobile(LoginMobileUpdateParam param);

4.参数说明

  1. public class LoginMobileUpdateDTO {
  2. private static final long serialVersionUID = 1L;
  3. private String name;//真实姓名
  4. private String identifyId; //身份证号码
  5. private String oldMobile; //老手机号
  6. private String newMobile;//新手机号
  7. private String captcha;//验证码
  8. }

5.商家禁用

  1. void disable(shopUpdateParam param);

6.商家修改地址

  1. void modifyAddr(shopUpdateParam param);

参数说明

  1. public class shopUpdateParam{
  2. private Integer shopId;
  3. private Date forbiddenTime; //禁用时间
  4. private String newAddr;//新地址
  5. private Integer lng;
  6. private Integer lat;
  7. }

7.商家模糊查询(商家名称/商家编码/可访问区域)

  1. List<ShopDTO> searchByRegionOrNameCode(SearchParam param);

参数说明

  1. public class SearchParam{
  2. private String input// 商家名称/商家编码
  3. private String regionIds; //可访问区域逗号分割
  4. private Integer cityId;城市,
  5. private String rmRegionIds;区域2 (过滤条件,
  6. private Integer agentId;加盟商,
  7. private String shopAddr;商家地址,
  8. private String mobile;注册手机号,
  9. private byte verified;审核状态,
  10. private byte status;账号状态,
  11. }

商家账户

ShopAccountProvider

8.修改商家账户余额(人工调整)

  1. void balanceChange(ShopBalanceChangeParam param);
  1. 参数说明
  2. public class ShopBalanceChangeParam implements Serializable {
  3. private Integer cityId;
  4. private Integer shopId;
  5. private byte type;
  6. private bigdecmal cost; //增加为整减少为负
  7. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注