public ShopMapController() { IMtAccountService service = new MtAccountService(); Mt_AccountDTO account = service.GetAccount(Global.USER_ID); _tuangouAppKey = account.TuangouAppKey; _tuangouAppSecret = account.TuangouAppSecret; }
public MtCouponService(string userNo, string shopNo) { IMtAccountService service = new MtAccountService(); Mt_AccountDTO account = service.GetAccount(userNo); _tuangouAppKey = account.TuangouAppKey; _tuangouAppSecret = account.TuangouAppSecret; _shopNo = shopNo; }
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; }