doum
11 小时以前 59b1f0e9967902aa10f5e017d5a0bdfd1b60c9ea
server/services/src/main/java/com/doumee/service/business/ShopInfoService.java
@@ -9,6 +9,7 @@
import com.doumee.dao.vo.ShopCenterVO;
import com.doumee.dao.vo.ShopDetailVO;
import com.doumee.dao.vo.ShopNearbyVO;
import com.doumee.dao.vo.ShopSalesStatsVO;
import com.doumee.dao.vo.ShopWebDetailVO;
import java.math.BigDecimal;
@@ -193,10 +194,44 @@
    ShopLoginVO shopPasswordLogin(ShopLoginDTO dto);
    /**
     * 门店静默登录(根据openid)
     * @param openid
     * 门店静默登录(默认用户携带的openid进行查询)
     * @param memberId
     * @return 登录结果
     */
    ShopLoginVO shopSilentLogin(String openid);
    ShopLoginVO shopSilentLogin(Integer memberId);
    /**
     * 门店销售统计
     *
     * @param shopId  门店主键
     * @param period  统计周期:0=今日, 1=本月, 2=上月
     * @return 销售统计
     */
    ShopSalesStatsVO getShopSalesStats(Integer shopId, Integer period);
    /**
     * 门店修改密码
     *
     * @param shopId      门店主键
     * @param oldPassword 旧密码
     * @param newPassword 新密码
     * @param token       当前token(修改成功后清除)
     */
    void changePassword(Integer shopId, String oldPassword, String newPassword, String token);
    /**
     * 绑定打印机
     */
    void bindPrinter(com.doumee.dao.dto.PrinterBindDTO dto);
    /**
     * 解绑打印机
     */
    void unbindPrinter(Integer shopId);
    /**
     * 查询打印机状态
     */
    Object queryPrinterStatus(Integer shopId);
}