package com.hzs.system.config.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.system.config.ext.BdBonusItemsExt;
import com.hzs.common.domain.system.config.ext.BdShopExt;
import com.hzs.system.config.IBonusItemsServiceApi;
import com.hzs.system.config.IShopServiceApi;
import com.hzs.system.config.service.IBdBonusItemsService;
import com.hzs.system.config.service.IBdShopService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class ShopServiceProvider implements IShopServiceApi {

    @Autowired
    private IBdShopService shopService;

    @Override
    public R<List<BdShopExt>> queryShop(Integer pkCountry) {
        return R.ok(shopService.queryShop(pkCountry));
    }

}
