@zhuchao941
2017-02-17T03:33:43.000000Z
字数 1600
阅读 823
ShopProvider
1.商家提交审核
ShopDTO userProvider.submitVerify(shopVerifyParam param);
参数说明
public class ShopSubmitVerifyParam{
private Integer shopId;
private String name;//商家登录账号
private String title;//商家名称
private String identifyId; //身份证号码
private String addr;//商家地址
private Integer lng;
private Integer lat;
private Byte shopType;//商家类型
private Integer regionId;//区域id
}
2.商家验证成功/失败
void verifyShop(ShopVerifyResultParam param);
参数说明
public class ShopVerifyResultParam{
private Integer shopId;
private boolean result;//审核结果 true:通过 false:拒绝
}
3.修改登录手机号
void changeLoginMobile(LoginMobileUpdateParam param);
4.参数说明
public class LoginMobileUpdateDTO {
private static final long serialVersionUID = 1L;
private String name;//真实姓名
private String identifyId; //身份证号码
private String oldMobile; //老手机号
private String newMobile;//新手机号
private String captcha;//验证码
}
5.商家禁用
void disable(shopUpdateParam param);
6.商家修改地址
void modifyAddr(shopUpdateParam param);
参数说明
public class shopUpdateParam{
private Integer shopId;
private Date forbiddenTime; //禁用时间
private String newAddr;//新地址
private Integer lng;
private Integer lat;
}
7.商家模糊查询(商家名称/商家编码/可访问区域)
List<ShopDTO> searchByRegionOrNameCode(SearchParam param);
参数说明
public class SearchParam{
private String input;// 商家名称/商家编码
private String regionIds; //可访问区域逗号分割
private Integer cityId;城市,
private String rmRegionIds;区域2 (过滤条件,
private Integer agentId;加盟商,
private String shopAddr;商家地址,
private String mobile;注册手机号,
private byte verified;审核状态,
private byte status;账号状态,
}
ShopAccountProvider
8.修改商家账户余额(人工调整)
void balanceChange(ShopBalanceChangeParam param);
参数说明
public class ShopBalanceChangeParam implements Serializable {
private Integer cityId;
private Integer shopId;
private byte type;
private bigdecmal cost; //增加为整减少为负
}