package com.kiisoo.ic.synchronous.controller;

import com.kiisoo.ic.synchronous.service.PromotionCodeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 同步推广码
 */
@Controller
@RequestMapping("/promotion")
@Slf4j
public class PromotionCodeController {

    @Autowired
    private com.kiisoo.ic.synchronous.service.PromotionCodeService PromotionCodeService;

    //参数类型0为门店账号，1为内部员工导购，2为其他
    public void getShopPromotion(){
        PromotionCodeService.getPromotion(0);
    }

    public void getStaffPromotion(){}

}
