예제 #1
0
        public ShopMapController()
        {
            IMtAccountService service = new MtAccountService();
            Mt_AccountDTO     account = service.GetAccount(Global.USER_ID);

            _tuangouAppKey    = account.TuangouAppKey;
            _tuangouAppSecret = account.TuangouAppSecret;
        }
예제 #2
0
        public MtCouponService(string userNo, string shopNo)
        {
            IMtAccountService service = new MtAccountService();
            Mt_AccountDTO     account = service.GetAccount(userNo);

            _tuangouAppKey    = account.TuangouAppKey;
            _tuangouAppSecret = account.TuangouAppSecret;
            _shopNo           = shopNo;
        }
예제 #3
0
        public MtBaseApiService(string userId, string shopNo)
        {
            IMtAccountService service = new MtAccountService();
            Mt_AccountDTO     account = service.GetAccount(userId);

            if (account is null)
            {
                return;
            }

            _waimaiAppId     = account.WaimaiAppId;
            _waimaiAppSecret = account.WaimaiAppSecret;
            _shopNo          = shopNo;
        }