SellerRPC.java 1.13 KB
package com.diligrp.mobsite.getway.rpc;

import com.b2c.myapp.common.api.sellerInfo.output.SellerInfoOutput;


/**
 * <B>Description</B> userrpc <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 *
 * @author wujianjun
 * @createTime Aug 19, 2014 2:33:16 PM
 */
public interface SellerRPC {



    /**
     * 验证电话号码是否存在
     *
     *  没有被使用:true
     *  已经被使用:false
     *
     * @param mobile
     * @return
     * @createTime 2014年8月27日 下午2:31:07
     * @author zhangshirui
     */
    SellerInfoOutput checkMobile(String mobile);




    /**
     * 修改密码
     * @param accountName
     * @param newPassword
     * @return
     * @createTime 2014年8月28日 下午3:01:49
     * @author zhangshirui
     */
    boolean modifyPwd(String accountName, String newPassword);



    SellerInfoOutput getSellerByMobile(String accountName);

    //ShopOutput getShopBySellerId(Long id);
    //
    //ShopOutput getShopById(Long id);
}