Documentation ¶
Index ¶
- type BasicResp
- type Dao
- func (d *Dao) ActivityOrder(c context.Context, orderNO string) (res *model.VipOrderActivityRecord, err error)
- func (d *Dao) AddAssociateGrantCount(c context.Context, arg *model.VipAssociateGrantCount) (err error)
- func (d *Dao) AddCacheBindInfoByMid(c context.Context, mid int64, v *model.OpenBindInfo, appID int64) (err error)
- func (d *Dao) AddCacheOpenInfoByOpenID(c context.Context, openID string, v *model.OpenInfo, appID int64) (err error)
- func (d *Dao) AddOldPayOrder(c context.Context, r *model.VipOldPayOrder) (err error)
- func (d *Dao) AddOldRechargeOrder(c context.Context, r *model.VipOldRechargeOrder) (err error)
- func (d *Dao) AddOpenInfo(c context.Context, a *model.OpenInfo) (err error)
- func (d *Dao) AddPayOrder(c context.Context, ip string, o *model.PayOrder, data *model.AddPayOrderResp) (err error)
- func (d *Dao) AddReceiveRedirectWelfare(c context.Context, wid, mid int64) (err error)
- func (d *Dao) AddTransferLock(c context.Context, key string) (succeed bool)
- func (d *Dao) AllMonthByOrder(c context.Context, orderStr string) (res []*model.Month, err error)
- func (d *Dao) AllPointExchangePrice(c context.Context) (pe []*model.PointExchangePrice, err error)
- func (d *Dao) AllTips(c context.Context, now int64) (rs []*model.Tips, err error)
- func (d *Dao) AssociateGrantCountInfo(c context.Context, mid int64, appID int64, months int32) (res *model.VipAssociateGrantCount, err error)
- func (d *Dao) BcoinSalaryList(c context.Context, mid int64, start, end time.Time) (res []*model.VipBcoinSalary, err error)
- func (d *Dao) BeginTran(c context.Context) (tx *sql.Tx, err error)
- func (d *Dao) BindInfoByMid(c context.Context, id int64, appID int64) (res *model.OpenBindInfo, err error)
- func (d *Dao) BindInfoByOutOpenIDAndMid(c context.Context, mid int64, outOpenID string, appID int64) (res *model.OpenBindInfo, err error)
- func (d *Dao) ByOutOpenID(c context.Context, outOpenID string, appID int64) (res *model.OpenBindInfo, err error)
- func (d *Dao) CacheBindInfoByMid(c context.Context, mid int64, appID int64) (v *model.OpenBindInfo, err error)
- func (d *Dao) CacheOpenInfoByOpenID(c context.Context, openID string, appID int64) (v *model.OpenInfo, err error)
- func (d *Dao) CleanCache(c context.Context, mid int64) (err error)
- func (d *Dao) Close()
- func (d *Dao) CountAssociateByMidAndMonths(c context.Context, mid int64, appID int64, months int32) (count int64, err error)
- func (d *Dao) CountAssociateGrants(c context.Context, mid int64, appID int64) (count int64, err error)
- func (d *Dao) CountAssociateOrder(c context.Context, mid int64, appID int64) (count int64, err error)
- func (d *Dao) CountGrantOrderByOutTradeNo(c context.Context, outTradeNo string, appID int64) (count int64, err error)
- func (d *Dao) CountProductBuy(c context.Context, mid int64, months int32, panelType string) (count int64, err error)
- func (d *Dao) CountReceiveRedirectWelfare(c context.Context, wid, mid int64) (count int64, err error)
- func (d *Dao) CountRecommendWelfare(c context.Context, req *model.ArgWelfareList) (count int64, err error)
- func (d *Dao) CountWelfare(c context.Context, req *model.ArgWelfareList) (count int64, err error)
- func (d *Dao) DelBindInfoCache(c context.Context, mid int64, appID int64) (err error)
- func (d *Dao) DelCache(c context.Context, key string) (err error)
- func (d *Dao) DelOpenInfoCache(c context.Context, openID string, appID int64) (err error)
- func (d *Dao) DelRedisCache(c context.Context, mid int64) (err error)
- func (d *Dao) DelVipFrozen(c context.Context, mid int64) (err error)
- func (d *Dao) DelVipInfoCache(c context.Context, mid int64) (err error)
- func (d *Dao) DialogAll(c context.Context) (res []*model.ConfDialog, err error)
- func (d *Dao) DiscountSQL(c context.Context, mid int64, discountID int64) (dh *model.VipUserDiscountHistory, err error)
- func (d *Dao) DoQuickPay(c context.Context, ip string, token string, thirdTradeNo string, ...) (err error)
- func (d *Dao) EffectiveAssociateVips(c context.Context) (res []*model.AssociateVipResp, err error)
- func (d *Dao) EleBindUnion(c context.Context, a *model.ArgEleBindUnion) (data *model.EleBindUnionResp, err error)
- func (d *Dao) EleCanPurchase(c context.Context, a *model.ArgEleCanPurchase) (data *model.EleCanPurchaseResp, err error)
- func (d *Dao) EleOauthGenerateAccessToken(c context.Context, a *model.ArgEleAccessToken) (data *model.EleAccessTokenResp, err error)
- func (d *Dao) EleRedPackages(c context.Context) (data []*model.EleRedPackagesResp, err error)
- func (d *Dao) EleSpecailFoods(c context.Context) (data []*model.EleSpecailFoodsResp, err error)
- func (d *Dao) EleUnionMobile(c context.Context, a *model.ArgEleUnionMobile) (data *model.EleUnionMobileResp, err error)
- func (d *Dao) EleUnionReceivePrizes(c context.Context, a *model.ArgEleReceivePrizes) (data []*model.EleReceivePrizesResp, err error)
- func (d *Dao) EleUnionUpdateOpenID(c context.Context, a *model.ArgEleUnionUpdateOpenID) (data *model.EleUnionUpdateOpenIDResp, err error)
- func (d *Dao) FrozenTime(c context.Context, mid int64) (frozenTime int64, err error)
- func (d *Dao) GetMyWelfare(c context.Context, mid int64) (res []*model.MyWelfareResp, err error)
- func (d *Dao) GetOpenCodeCount(c context.Context, mid int64) (val int, err error)
- func (d *Dao) GetOpenInfo(c context.Context, code string) (data *model.OpenCodeResp, err error)
- func (d *Dao) GetPassportDetail(c context.Context, mid int64) (res *model.PassportDetail, err error)
- func (d *Dao) GetPointTip(c context.Context, mid, id int64) (val int, err error)
- func (d *Dao) GetReceivedCode(c context.Context, wid, mid int64) (res []*model.ReceivedCodeResp, err error)
- func (d *Dao) GetRecommendWelfare(c context.Context, req *model.ArgWelfareList) (res []*model.WelfareListResp, err error)
- func (d *Dao) GetSignVip(c context.Context, mid int64) (val int, err error)
- func (d *Dao) GetToken(c context.Context, bid string, ip string) (data *model.TokenResq, err error)
- func (d *Dao) GetVipFrozen(c context.Context, mid int64) (val int, err error)
- func (d *Dao) GetWelfareBatch(c context.Context, wid int64) (res []*model.WelfareBatchResp, err error)
- func (d *Dao) GetWelfareCodeUnReceived(c context.Context, wid int64, bids []string) (res []*model.UnReceivedCodeResp, err error)
- func (d *Dao) GetWelfareInfo(c context.Context, id int64) (res *model.WelfareInfoResp, err error)
- func (d *Dao) GetWelfareList(c context.Context, req *model.ArgWelfareList) (res []*model.WelfareListResp, err error)
- func (d *Dao) GetWelfareTypeList(c context.Context) (res []*model.WelfareTypeListResp, err error)
- func (d *Dao) InsertReceiveRecord(c context.Context, tx *sql.Tx, mid, wid, monthYear int64) (err error)
- func (d *Dao) InsertVipBcoinSalary(c context.Context, r *model.VipBcoinSalary) (err error)
- func (d *Dao) InsertVipChangeHistory(tx *sql.Tx, r *model.VipChangeHistory) (id int64, err error)
- func (d *Dao) InsertVipUserInfo(tx *sql.Tx, r *model.VipInfoDB) (err error)
- func (d *Dao) Jointlys(c context.Context, now int64) (res []*model.Jointly, err error)
- func (d *Dao) LoginCount(c context.Context, mid int64) (count int64, err error)
- func (d *Dao) Loginout(c context.Context, mid int64) (err error)
- func (d *Dao) MailCouponCodeCreate(c context.Context, a *model.ArgMailCouponCodeCreate) (err error)
- func (d *Dao) OldFrozenChange(c context.Context, mid int64) (err error)
- func (d *Dao) OldInsertVipBcoinSalary(c context.Context, r *model.VipBcoinSalary) (err error)
- func (d *Dao) OldInsertVipChangeHistory(c context.Context, tx *sql.Tx, r *model.VipChangeHistory) (id int64, err error)
- func (d *Dao) OldInsertVipUserInfo(c context.Context, tx *sql.Tx, r *model.VipUserInfo) (err error)
- func (d *Dao) OldSelLastBcoin(c context.Context, mid int64) (r *model.VipBcoinSalary, err error)
- func (d *Dao) OldSelVipUserInfo(c context.Context, mid int64) (r *model.VipUserInfo, err error)
- func (d *Dao) OldStartTx(c context.Context) (tx *sql.Tx, err error)
- func (d *Dao) OldTxAddChangeHistory(tx *sql.Tx, r *model.VipChangeHistory) (err error)
- func (d *Dao) OldTxDelBcoinSalary(tx *sql.Tx, mid int64, month time.Time) (err error)
- func (d *Dao) OldTxSelVipUserInfo(tx *sql.Tx, mid int64) (r *model.VipInfoDB, err error)
- func (d *Dao) OldTxUpdateVipUserInfo(tx *sql.Tx, r *model.VipInfoDB, ver int64) (eff int64, err error)
- func (d *Dao) OldUpdateOrderCancel(c context.Context, r *model.VipPayOrderOld) (a int64, err error)
- func (d *Dao) OldUpdateVipUserInfo(c context.Context, tx *sql.Tx, r *model.VipUserInfo) (a int64, err error)
- func (d *Dao) OldVipchangeHistory(c context.Context, relationID string, batchID int64) (r *model.VipChangeHistory, err error)
- func (d *Dao) OpenCode(c context.Context, mid, batchCodeID int64, unit int32, remark, code string) (data *model.CommonResq, err error)
- func (d *Dao) OpenInfoByMid(c context.Context, mid int64, appID int64) (res *model.OpenInfo, err error)
- func (d *Dao) OpenInfoByOpenID(c context.Context, id string, appID int64) (res *model.OpenInfo, err error)
- func (d *Dao) OrderCount(c context.Context, mid int64, status int8) (count int64, err error)
- func (d *Dao) OrderInfo(c context.Context, orderNo string) (r *model.OrderInfo, err error)
- func (d *Dao) OrderList(c context.Context, mid int64, status int8, pn, ps int) (res []*model.PayOrder, err error)
- func (d *Dao) PayBanks(c context.Context, ip string, data []*model.PayBankResp) (err error)
- func (d *Dao) PayCashier(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, ...) (err error)
- func (d *Dao) PayClose(c context.Context, orderNO string, ip string) (data *model.APIPayCancelResp, err error)
- func (d *Dao) PayIapAccess(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, ...) (err error)
- func (d *Dao) PayOrderLast(c context.Context, mid int64, status int8, orderTypes ...int64) (r *model.PayOrder, err error)
- func (d *Dao) PayQrCode(c context.Context, mid int64, orderID string, req map[string]interface{}) (data *model.PayQrCode, err error)
- func (d *Dao) PayQrcode(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, ...) (err error)
- func (d *Dao) PayRecission(c context.Context, params map[string]interface{}, clietIP string) (err error)
- func (d *Dao) PaySDK(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, ...) (err error)
- func (d *Dao) PaySign(params map[string]string, token string) (sign string)
- func (d *Dao) PaySignNotDel(params map[string]string, token string) (sign string)
- func (d *Dao) PayWallet(c context.Context, mid int64, ip string, data *model.PayAccountResp) (err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) PlatformAll(c context.Context) (res []*model.ConfPlatform, err error)
- func (d *Dao) PlatformByID(c context.Context, id int64) (r *model.ConfPlatform, err error)
- func (d *Dao) PointExchangePrice(c context.Context, month int16) (pe *model.PointExchangePrice, err error)
- func (d *Dao) PriceMapping(c context.Context, monthID int64, platform int8) (r *model.PriceMapping, err error)
- func (d *Dao) PrivilegeList(c context.Context) (res []*model.Privilege, err error)
- func (d *Dao) PrivilegeResourcesList(c context.Context) (res []*model.PrivilegeResources, err error)
- func (d *Dao) QuickPayToken(c context.Context, ip string, accessKey string, cookie []*http.Cookie, ...) (err error)
- func (d *Dao) RawBindInfoByMid(c context.Context, mid int64, appID int64) (res *model.OpenBindInfo, err error)
- func (d *Dao) RawOpenInfoByOpenID(c context.Context, openID string, appID int64) (res *model.OpenInfo, err error)
- func (d *Dao) RemQueue(c context.Context, mid int64) (err error)
- func (d *Dao) SelActives(c context.Context, relations []string) (rep []*model.VipActiveShow, err error)
- func (d *Dao) SelAllConfig(c context.Context) (res []*model.VipConfig, err error)
- func (d *Dao) SelBatchCode(c context.Context, id int64) (bc *model.VipResourceBatchCode, err error)
- func (d *Dao) SelBatchCodes(c context.Context, ids []int64) (bcs []*model.VipResourceBatchCode, err error)
- func (d *Dao) SelBatchCodesByBisID(c context.Context, bisID int64) (bcs []*model.VipResourceBatchCode, err error)
- func (d *Dao) SelBatchCount(c context.Context, batchCodeID, mid int64) (count int64, err error)
- func (d *Dao) SelBusiness(c context.Context, id int64) (r *model.VipBusinessInfo, err error)
- func (d *Dao) SelChangeHistory(c context.Context, arg *model.ArgChangeHistory) (vcs []*model.VipChangeHistory, err error)
- func (d *Dao) SelChangeHistoryCount(c context.Context, arg *model.ArgChangeHistory) (count int64, err error)
- func (d *Dao) SelCode(c context.Context, codeStr string) (code *model.VipResourceCode, err error)
- func (d *Dao) SelCodeOpened(c context.Context, bisIDs []int64, arg *model.ArgCodeOpened) (cs []*model.CodeInfoResp, err error)
- func (d *Dao) SelCodes(c context.Context, codes []string) (cs []*model.VipResourceCode, err error)
- func (d *Dao) SelCodesByBMid(c context.Context, mid int64) (cs []string, err error)
- func (d *Dao) SelLastBcoin(c context.Context, mid int64) (r *model.VipBcoinSalary, err error)
- func (d *Dao) SelNewBusiness(c context.Context, id int64) (r *model.VipBusinessInfo, err error)
- func (d *Dao) SelNewBusinessByAppkey(c context.Context, appkey string) (r *model.VipBusinessInfo, err error)
- func (d *Dao) SelNewResourcePool(c context.Context, id int64) (r *model.VipResourcePool, err error)
- func (d *Dao) SelOldPayOrder(c context.Context, orderNo string) (r *model.VipPayOrderOld, err error)
- func (d *Dao) SelPayOrderLog(c context.Context, orderNo, refundID string, status int8) (res *model.VipPayOrderLog, err error)
- func (d *Dao) SelResourcePool(c context.Context, id int64) (r *model.VipResourcePool, err error)
- func (d *Dao) SelVipAppInfo(c context.Context, t int) (res []*model.VipAppInfo, err error)
- func (d *Dao) SelVipChangeHistory(c context.Context, relationID string) (r *model.VipChangeHistory, err error)
- func (d *Dao) SelVipResourceBatch(c context.Context, id int64) (r *model.VipResourceBatch, err error)
- func (d *Dao) SendBcoinCoupon(c context.Context, mids, activityID string, money int64, dueTime time.Time) (err error)
- func (d *Dao) SendCleanCache(c context.Context, mid int64, months int16, days int64, t int, ip string) (err error)
- func (d *Dao) SendMultipMsg(c context.Context, mids, content, title, mc, ip string, dataType int) (err error)
- func (d *Dao) SetOpenCode(c context.Context, mid int64, count int) (err error)
- func (d *Dao) SetPointTip(c context.Context, mid, id int64, val int, expired int32) (err error)
- func (d *Dao) SetSignVip(c context.Context, mid int64, t int) (err error)
- func (d *Dao) SetVipInfoCache(c context.Context, mid int64, v *model.VipInfo) (err error)
- func (d *Dao) StartTx(c context.Context) (tx *sql.Tx, err error)
- func (d *Dao) SyncAddUser(tx *sql.Tx, r *model.VipInfoDB) (err error)
- func (d *Dao) SyncUpdateUser(tx *sql.Tx, r *model.VipInfoDB, ver int64) (eff int64, err error)
- func (d *Dao) TxAddBind(tx *sql.Tx, arg *model.OpenBindInfo) (err error)
- func (d *Dao) TxAddIosVipUserInfo(tx *sql.Tx, r *model.VipInfoDB) (eff int64, err error)
- func (d *Dao) TxAddOrder(tx *sql.Tx, p *model.PayOrder) (id int64, err error)
- func (d *Dao) TxAddOrderLog(tx *sql.Tx, arg *model.VipPayOrderLog) (err error)
- func (d *Dao) TxAddUserDiscount(tx *sql.Tx, r *model.VipUserDiscountHistory) (eff int64, err error)
- func (d *Dao) TxDeleteBindInfo(tx *sql.Tx, id int64) (err error)
- func (d *Dao) TxDupUserDiscount(tx *sql.Tx, mid, discountID int64, orderNo string, status int8) (err error)
- func (d *Dao) TxInsertAssociateGrantOrder(tx *sql.Tx, oa *model.VipOrderAssociateGrant) (aff int64, err error)
- func (d *Dao) TxSelVipUserInfo(tx *sql.Tx, mid int64) (r *model.VipInfoDB, err error)
- func (d *Dao) TxUpdateAssociateGrantState(tx *sql.Tx, oa *model.VipOrderAssociateGrant) (aff int64, err error)
- func (d *Dao) TxUpdateBatchCode(tx *sql.Tx, id int64, sc int32) (eff int64, err error)
- func (d *Dao) TxUpdateBindByOutOpenID(tx *sql.Tx, arg *model.OpenBindInfo) (err error)
- func (d *Dao) TxUpdateChannelID(tx *sql.Tx, mid int64, payChannelID int32, ver int64, oldVer int64) (err error)
- func (d *Dao) TxUpdateCode(tx *sql.Tx, id int64, mid int64, useTime time.Time) (eff int64, err error)
- func (d *Dao) TxUpdateCodeStatus(tx *sql.Tx, id int64, status int8) (eff int64, err error)
- func (d *Dao) TxUpdateIosPayOrder(tx *sql.Tx, o *model.OrderInfo, ver int64) (err error)
- func (d *Dao) TxUpdateIosRenewUserInfo(tx *sql.Tx, paychannelID, ver, oldVer, mid int64, payType int8) (err error)
- func (d *Dao) TxUpdateIosUserInfo(tx *sql.Tx, iosTime time.Time, mid int64) (eff int64, err error)
- func (d *Dao) TxUpdateOrderStatus(c context.Context, tx *sql.Tx, status int8, payType string, ...) (err error)
- func (d *Dao) TxUpdatePayOrder(tx *sql.Tx, o *model.OrderInfo, ver int64) (err error)
- func (d *Dao) TxUpdatePayOrderRefundAmount(tx *sql.Tx, id int64, refundAmount float64, ver, oldVer int64) (err error)
- func (d *Dao) TxUpdatePayOrderStatus(tx *sql.Tx, status int8, id int64, ver int64) (a int64, err error)
- func (d *Dao) UpdateActivityState(c context.Context, state int8, orderNO string) (aff int64, err error)
- func (d *Dao) UpdateAssociateGrantCount(c context.Context, arg *model.VipAssociateGrantCount) (err error)
- func (d *Dao) UpdateBatchCount(c context.Context, tx *sql.Tx, r *model.VipResourceBatch, ver int64) (a int64, err error)
- func (d *Dao) UpdateBindState(c context.Context, arg *model.OpenBindInfo) (err error)
- func (d *Dao) UpdatePayType(tx *sql.Tx, mid int64, payType int8, ver, oldVer int64) (a int64, err error)
- func (d *Dao) UpdateVipTypeAndStatus(c context.Context, mid int64, vipStatus int32, vipType int32) (ret int64, err error)
- func (d *Dao) UpdateVipUserInfo(tx *sql.Tx, r *model.VipInfoDB, ver int64) (a int64, err error)
- func (d *Dao) UpdateWelfareBatch(c context.Context, tx *sql.Tx, bid int) (err error)
- func (d *Dao) UpdateWelfareCodeUser(c context.Context, tx *sql.Tx, id int, mid int64) (affectedRows int64, err error)
- func (d *Dao) Verify(c context.Context, code, token, ip string) (data *model.TokenResq, err error)
- func (d *Dao) VipInfo(c context.Context, mid int64) (r *model.VipInfoDB, err error)
- func (d *Dao) VipInfoCache(c context.Context, mid int64) (v *model.VipInfo, err error)
- func (d *Dao) VipPayOrderSuccs(c context.Context, mid int64) (mpo map[string]struct{}, err error)
- func (d *Dao) VipPriceByID(c context.Context, id int64) (vpc *model.VipPriceConfig, err error)
- func (d *Dao) VipPriceByProductID(c context.Context, productID string) (vpc *model.VipPriceConfig, err error)
- func (d *Dao) VipPriceConfigs(c context.Context) (vpcs []*model.VipPriceConfig, err error)
- func (d *Dao) VipPriceDiscountByProductID(c context.Context, productID string) (vpc []*model.VipDPriceConfig, err error)
- func (d *Dao) VipPriceDiscountConfigs(c context.Context) (mvp map[int64]*model.VipDPriceConfig, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicResp ¶
type BasicResp struct { Code int `json:"code"` Message string `json:"messge"` Data *interface{} `json:"data"` }
BasicResp pay response.
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao struct info of Dao.
func (*Dao) ActivityOrder ¶
func (d *Dao) ActivityOrder(c context.Context, orderNO string) (res *model.VipOrderActivityRecord, err error)
ActivityOrder get activity order by order_no.
func (*Dao) AddAssociateGrantCount ¶
func (d *Dao) AddAssociateGrantCount(c context.Context, arg *model.VipAssociateGrantCount) (err error)
AddAssociateGrantCount add associate grant count.
func (*Dao) AddCacheBindInfoByMid ¶
func (d *Dao) AddCacheBindInfoByMid(c context.Context, mid int64, v *model.OpenBindInfo, appID int64) (err error)
AddCacheBindInfoByMid add bind info cache.
func (*Dao) AddCacheOpenInfoByOpenID ¶
func (d *Dao) AddCacheOpenInfoByOpenID(c context.Context, openID string, v *model.OpenInfo, appID int64) (err error)
AddCacheOpenInfoByOpenID add open info cache.
func (*Dao) AddOldPayOrder ¶
AddOldPayOrder add old payorder.
func (*Dao) AddOldRechargeOrder ¶
AddOldRechargeOrder add recharge order.
func (*Dao) AddOpenInfo ¶
AddOpenInfo add open info.
func (*Dao) AddPayOrder ¶
func (d *Dao) AddPayOrder(c context.Context, ip string, o *model.PayOrder, data *model.AddPayOrderResp) (err error)
AddPayOrder add pay order.
func (*Dao) AddReceiveRedirectWelfare ¶
AddReceiveRedirectWelfare add redirect url
func (*Dao) AddTransferLock ¶
AddTransferLock add lock.
func (*Dao) AllMonthByOrder ¶
AllMonthByOrder order by month.
func (*Dao) AllPointExchangePrice ¶
AllPointExchangePrice .
func (*Dao) AssociateGrantCountInfo ¶
func (d *Dao) AssociateGrantCountInfo(c context.Context, mid int64, appID int64, months int32) (res *model.VipAssociateGrantCount, err error)
AssociateGrantCountInfo associate grant count info.
func (*Dao) BcoinSalaryList ¶
func (d *Dao) BcoinSalaryList(c context.Context, mid int64, start, end time.Time) (res []*model.VipBcoinSalary, err error)
BcoinSalaryList vip user bcoin salary list.
func (*Dao) BindInfoByMid ¶
func (d *Dao) BindInfoByMid(c context.Context, id int64, appID int64) (res *model.OpenBindInfo, err error)
BindInfoByMid get data from cache if miss will call source method, then add to cache.
func (*Dao) BindInfoByOutOpenIDAndMid ¶
func (d *Dao) BindInfoByOutOpenIDAndMid(c context.Context, mid int64, outOpenID string, appID int64) (res *model.OpenBindInfo, err error)
BindInfoByOutOpenIDAndMid get bind info by out_open_id AND mid.
func (*Dao) ByOutOpenID ¶
func (d *Dao) ByOutOpenID(c context.Context, outOpenID string, appID int64) (res *model.OpenBindInfo, err error)
ByOutOpenID get open bind info by out_open_id.
func (*Dao) CacheBindInfoByMid ¶
func (d *Dao) CacheBindInfoByMid(c context.Context, mid int64, appID int64) (v *model.OpenBindInfo, err error)
CacheBindInfoByMid get vip bind by mid cache.
func (*Dao) CacheOpenInfoByOpenID ¶
func (d *Dao) CacheOpenInfoByOpenID(c context.Context, openID string, appID int64) (v *model.OpenInfo, err error)
CacheOpenInfoByOpenID get vip open info by open id cache.
func (*Dao) CleanCache ¶
CleanCache clean job cache.
func (*Dao) CountAssociateByMidAndMonths ¶
func (d *Dao) CountAssociateByMidAndMonths(c context.Context, mid int64, appID int64, months int32) (count int64, err error)
CountAssociateByMidAndMonths count grant order by mid and months .
func (*Dao) CountAssociateGrants ¶
func (d *Dao) CountAssociateGrants(c context.Context, mid int64, appID int64) (count int64, err error)
CountAssociateGrants associate grant count.
func (*Dao) CountAssociateOrder ¶
func (d *Dao) CountAssociateOrder(c context.Context, mid int64, appID int64) (count int64, err error)
CountAssociateOrder associate order count.
func (*Dao) CountGrantOrderByOutTradeNo ¶
func (d *Dao) CountGrantOrderByOutTradeNo(c context.Context, outTradeNo string, appID int64) (count int64, err error)
CountGrantOrderByOutTradeNo grant order by out_trade_no count.
func (*Dao) CountProductBuy ¶
func (d *Dao) CountProductBuy(c context.Context, mid int64, months int32, panelType string) (count int64, err error)
CountProductBuy get user by product count.
func (*Dao) CountReceiveRedirectWelfare ¶
func (d *Dao) CountReceiveRedirectWelfare(c context.Context, wid, mid int64) (count int64, err error)
CountReceiveRedirectWelfare count it
func (*Dao) CountRecommendWelfare ¶
func (d *Dao) CountRecommendWelfare(c context.Context, req *model.ArgWelfareList) (count int64, err error)
CountRecommendWelfare count recommend welfare
func (*Dao) CountWelfare ¶
CountWelfare count welfare list
func (*Dao) DelBindInfoCache ¶
DelBindInfoCache del bind info cache.
func (*Dao) DelOpenInfoCache ¶
DelOpenInfoCache del open info cache.
func (*Dao) DelRedisCache ¶
DelRedisCache del redis cache.
func (*Dao) DelVipFrozen ¶
DelVipFrozen del vip frozen.
func (*Dao) DelVipInfoCache ¶
DelVipInfoCache delete vipinfo cache.
func (*Dao) DiscountSQL ¶
func (d *Dao) DiscountSQL(c context.Context, mid int64, discountID int64) (dh *model.VipUserDiscountHistory, err error)
DiscountSQL discount sql.
func (*Dao) DoQuickPay ¶
func (d *Dao) DoQuickPay(c context.Context, ip string, token string, thirdTradeNo string, data *model.PayRetResp) (err error)
DoQuickPay do quick pay.
func (*Dao) EffectiveAssociateVips ¶
EffectiveAssociateVips effective associate vips.
func (*Dao) EleBindUnion ¶
func (d *Dao) EleBindUnion(c context.Context, a *model.ArgEleBindUnion) (data *model.EleBindUnionResp, err error)
EleBindUnion ele bind union salary vip.
func (*Dao) EleCanPurchase ¶
func (d *Dao) EleCanPurchase(c context.Context, a *model.ArgEleCanPurchase) (data *model.EleCanPurchaseResp, err error)
EleCanPurchase ele can purchase.
func (*Dao) EleOauthGenerateAccessToken ¶
func (d *Dao) EleOauthGenerateAccessToken(c context.Context, a *model.ArgEleAccessToken) (data *model.EleAccessTokenResp, err error)
EleOauthGenerateAccessToken get access_token by auth_code.
func (*Dao) EleRedPackages ¶
EleRedPackages get ele red packages.
func (*Dao) EleSpecailFoods ¶
EleSpecailFoods get ele specail foods.
func (*Dao) EleUnionMobile ¶
func (d *Dao) EleUnionMobile(c context.Context, a *model.ArgEleUnionMobile) (data *model.EleUnionMobileResp, err error)
EleUnionMobile get ele union mobile.
func (*Dao) EleUnionReceivePrizes ¶
func (d *Dao) EleUnionReceivePrizes(c context.Context, a *model.ArgEleReceivePrizes) (data []*model.EleReceivePrizesResp, err error)
EleUnionReceivePrizes union receive prizes.
func (*Dao) EleUnionUpdateOpenID ¶
func (d *Dao) EleUnionUpdateOpenID(c context.Context, a *model.ArgEleUnionUpdateOpenID) (data *model.EleUnionUpdateOpenIDResp, err error)
EleUnionUpdateOpenID update_open_id req.
func (*Dao) FrozenTime ¶
FrozenTime get user frozen time
func (*Dao) GetMyWelfare ¶
GetMyWelfare get my welfare infos
func (*Dao) GetOpenCodeCount ¶
GetOpenCodeCount get open code count.
func (*Dao) GetOpenInfo ¶
GetOpenInfo get open info.
func (*Dao) GetPassportDetail ¶
func (d *Dao) GetPassportDetail(c context.Context, mid int64) (res *model.PassportDetail, err error)
GetPassportDetail get passport detail
func (*Dao) GetPointTip ¶
GetPointTip get pointTip.
func (*Dao) GetReceivedCode ¶
func (d *Dao) GetReceivedCode(c context.Context, wid, mid int64) (res []*model.ReceivedCodeResp, err error)
GetReceivedCode get received code
func (*Dao) GetRecommendWelfare ¶
func (d *Dao) GetRecommendWelfare(c context.Context, req *model.ArgWelfareList) (res []*model.WelfareListResp, err error)
GetRecommendWelfare get recommend welfare
func (*Dao) GetSignVip ¶
GetSignVip .
func (*Dao) GetVipFrozen ¶
GetVipFrozen set vip frozen.
func (*Dao) GetWelfareBatch ¶
func (d *Dao) GetWelfareBatch(c context.Context, wid int64) (res []*model.WelfareBatchResp, err error)
GetWelfareBatch get welfare batch infos
func (*Dao) GetWelfareCodeUnReceived ¶
func (d *Dao) GetWelfareCodeUnReceived(c context.Context, wid int64, bids []string) (res []*model.UnReceivedCodeResp, err error)
GetWelfareCodeUnReceived get unReceived welfare code
func (*Dao) GetWelfareInfo ¶
GetWelfareInfo get welfare info
func (*Dao) GetWelfareList ¶
func (d *Dao) GetWelfareList(c context.Context, req *model.ArgWelfareList) (res []*model.WelfareListResp, err error)
GetWelfareList get welfare list
func (*Dao) GetWelfareTypeList ¶
GetWelfareTypeList get welfare type list
func (*Dao) InsertReceiveRecord ¶
func (d *Dao) InsertReceiveRecord(c context.Context, tx *sql.Tx, mid, wid, monthYear int64) (err error)
InsertReceiveRecord to prevent repeated receive
func (*Dao) InsertVipBcoinSalary ¶
InsertVipBcoinSalary insert vip bcoin salary
func (*Dao) InsertVipChangeHistory ¶
InsertVipChangeHistory insert vipChangeHistory
func (*Dao) InsertVipUserInfo ¶
InsertVipUserInfo insert vipUserInfo
func (*Dao) LoginCount ¶
LoginCount get user recent loggin count
func (*Dao) MailCouponCodeCreate ¶
MailCouponCodeCreate mail coupon code create.
func (*Dao) OldFrozenChange ¶
OldFrozenChange .
func (*Dao) OldInsertVipBcoinSalary ¶
OldInsertVipBcoinSalary insert vip bcoin salary
func (*Dao) OldInsertVipChangeHistory ¶
func (d *Dao) OldInsertVipChangeHistory(c context.Context, tx *sql.Tx, r *model.VipChangeHistory) (id int64, err error)
OldInsertVipChangeHistory insert vipChangeHistory
func (*Dao) OldInsertVipUserInfo ¶
OldInsertVipUserInfo insert vipUserInfo.
func (*Dao) OldSelLastBcoin ¶
OldSelLastBcoin sel last bcoin by mid
func (*Dao) OldSelVipUserInfo ¶
OldSelVipUserInfo select user info by mid
func (*Dao) OldStartTx ¶
OldStartTx old start tx
func (*Dao) OldTxAddChangeHistory ¶
OldTxAddChangeHistory .
func (*Dao) OldTxDelBcoinSalary ¶
OldTxDelBcoinSalary del bcoin salary
func (*Dao) OldTxSelVipUserInfo ¶
OldTxSelVipUserInfo .
func (*Dao) OldTxUpdateVipUserInfo ¶
func (d *Dao) OldTxUpdateVipUserInfo(tx *sql.Tx, r *model.VipInfoDB, ver int64) (eff int64, err error)
OldTxUpdateVipUserInfo .
func (*Dao) OldUpdateOrderCancel ¶
OldUpdateOrderCancel order update order cancel.
func (*Dao) OldUpdateVipUserInfo ¶
func (d *Dao) OldUpdateVipUserInfo(c context.Context, tx *sql.Tx, r *model.VipUserInfo) (a int64, err error)
OldUpdateVipUserInfo update vip user info by id
func (*Dao) OldVipchangeHistory ¶
func (d *Dao) OldVipchangeHistory(c context.Context, relationID string, batchID int64) (r *model.VipChangeHistory, err error)
OldVipchangeHistory old vip change history.
func (*Dao) OpenCode ¶
func (d *Dao) OpenCode(c context.Context, mid, batchCodeID int64, unit int32, remark, code string) (data *model.CommonResq, err error)
OpenCode open code.
func (*Dao) OpenInfoByMid ¶
func (d *Dao) OpenInfoByMid(c context.Context, mid int64, appID int64) (res *model.OpenInfo, err error)
OpenInfoByMid get open info by mid.
func (*Dao) OpenInfoByOpenID ¶
func (d *Dao) OpenInfoByOpenID(c context.Context, id string, appID int64) (res *model.OpenInfo, err error)
OpenInfoByOpenID get data from cache if miss will call source method, then add to cache.
func (*Dao) OrderCount ¶
OrderCount order count.
func (*Dao) OrderList ¶
func (d *Dao) OrderList(c context.Context, mid int64, status int8, pn, ps int) (res []*model.PayOrder, err error)
OrderList order list.
func (*Dao) PayCashier ¶
func (d *Dao) PayCashier(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, payCode string, bankCode string) (err error)
PayCashier pay cashier.
func (*Dao) PayClose ¶
func (d *Dao) PayClose(c context.Context, orderNO string, ip string) (data *model.APIPayCancelResp, err error)
PayClose pay close.
func (*Dao) PayIapAccess ¶
func (d *Dao) PayIapAccess(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, productID string) (err error)
PayIapAccess pay iap access.
func (*Dao) PayOrderLast ¶
func (d *Dao) PayOrderLast(c context.Context, mid int64, status int8, orderTypes ...int64) (r *model.PayOrder, err error)
PayOrderLast .
func (*Dao) PayQrCode ¶
func (d *Dao) PayQrCode(c context.Context, mid int64, orderID string, req map[string]interface{}) (data *model.PayQrCode, err error)
PayQrCode pay qr code.
func (*Dao) PayQrcode ¶
func (d *Dao) PayQrcode(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, payCode string) (err error)
PayQrcode pay qrcode.
func (*Dao) PayRecission ¶
func (d *Dao) PayRecission(c context.Context, params map[string]interface{}, clietIP string) (err error)
PayRecission call pay refund api.
func (*Dao) PaySDK ¶
func (d *Dao) PaySDK(c context.Context, ip string, o *model.PayOrder, data *model.APIPayOrderResp, payCode string) (err error)
PaySDK moblie pay sdk.
func (*Dao) PaySignNotDel ¶
PaySignNotDel pay sign not del.
func (*Dao) PayWallet ¶
func (d *Dao) PayWallet(c context.Context, mid int64, ip string, data *model.PayAccountResp) (err error)
PayWallet .
func (*Dao) PlatformAll ¶
PlatformAll .
func (*Dao) PlatformByID ¶
PlatformByID get info by open id.
func (*Dao) PointExchangePrice ¶
func (d *Dao) PointExchangePrice(c context.Context, month int16) (pe *model.PointExchangePrice, err error)
PointExchangePrice def.
func (*Dao) PriceMapping ¶
func (d *Dao) PriceMapping(c context.Context, monthID int64, platform int8) (r *model.PriceMapping, err error)
PriceMapping all price mapping.
func (*Dao) PrivilegeList ¶
PrivilegeList query .
func (*Dao) PrivilegeResourcesList ¶
func (d *Dao) PrivilegeResourcesList(c context.Context) (res []*model.PrivilegeResources, err error)
PrivilegeResourcesList query privilege resources .
func (*Dao) QuickPayToken ¶
func (d *Dao) QuickPayToken(c context.Context, ip string, accessKey string, cookie []*http.Cookie, data *model.QucikPayResp) (err error)
QuickPayToken quick pay token.
func (*Dao) RawBindInfoByMid ¶
func (d *Dao) RawBindInfoByMid(c context.Context, mid int64, appID int64) (res *model.OpenBindInfo, err error)
RawBindInfoByMid get open bind info by mid.
func (*Dao) RawOpenInfoByOpenID ¶
func (d *Dao) RawOpenInfoByOpenID(c context.Context, openID string, appID int64) (res *model.OpenInfo, err error)
RawOpenInfoByOpenID get info by open id.
func (*Dao) SelActives ¶
func (d *Dao) SelActives(c context.Context, relations []string) (rep []*model.VipActiveShow, err error)
SelActives sel active data.
func (*Dao) SelAllConfig ¶
SelAllConfig sel all config
func (*Dao) SelBatchCode ¶
SelBatchCode set batch code.
func (*Dao) SelBatchCodes ¶
func (d *Dao) SelBatchCodes(c context.Context, ids []int64) (bcs []*model.VipResourceBatchCode, err error)
SelBatchCodes sel batchcodes
func (*Dao) SelBatchCodesByBisID ¶
func (d *Dao) SelBatchCodesByBisID(c context.Context, bisID int64) (bcs []*model.VipResourceBatchCode, err error)
SelBatchCodesByBisID set batch codes by business id.
func (*Dao) SelBatchCount ¶
SelBatchCount sel batch count
func (*Dao) SelBusiness ¶
SelBusiness select businessInfo by id
func (*Dao) SelChangeHistory ¶
func (d *Dao) SelChangeHistory(c context.Context, arg *model.ArgChangeHistory) (vcs []*model.VipChangeHistory, err error)
SelChangeHistory .
func (*Dao) SelChangeHistoryCount ¶
func (d *Dao) SelChangeHistoryCount(c context.Context, arg *model.ArgChangeHistory) (count int64, err error)
SelChangeHistoryCount .
func (*Dao) SelCodeOpened ¶
func (d *Dao) SelCodeOpened(c context.Context, bisIDs []int64, arg *model.ArgCodeOpened) (cs []*model.CodeInfoResp, err error)
SelCodeOpened set code open.
func (*Dao) SelCodesByBMid ¶
SelCodesByBMid sel codes by bmid
func (*Dao) SelLastBcoin ¶
SelLastBcoin sel last bcoin by mid.
func (*Dao) SelNewBusiness ¶
SelNewBusiness select newdb businessInfo by id.
func (*Dao) SelNewBusinessByAppkey ¶
func (d *Dao) SelNewBusinessByAppkey(c context.Context, appkey string) (r *model.VipBusinessInfo, err error)
SelNewBusinessByAppkey select newdb businessInfo by id.
func (*Dao) SelNewResourcePool ¶
SelNewResourcePool select new resource pool by id
func (*Dao) SelOldPayOrder ¶
func (d *Dao) SelOldPayOrder(c context.Context, orderNo string) (r *model.VipPayOrderOld, err error)
SelOldPayOrder sel old payorder
func (*Dao) SelPayOrderLog ¶
func (d *Dao) SelPayOrderLog(c context.Context, orderNo, refundID string, status int8) (res *model.VipPayOrderLog, err error)
SelPayOrderLog sel pay order log.
func (*Dao) SelResourcePool ¶
SelResourcePool select resource pool by id
func (*Dao) SelVipAppInfo ¶
SelVipAppInfo selVipAppInfo
func (*Dao) SelVipChangeHistory ¶
func (d *Dao) SelVipChangeHistory(c context.Context, relationID string) (r *model.VipChangeHistory, err error)
SelVipChangeHistory select vip_change_history by relationId
func (*Dao) SelVipResourceBatch ¶
func (d *Dao) SelVipResourceBatch(c context.Context, id int64) (r *model.VipResourceBatch, err error)
SelVipResourceBatch select vip resource Batch by id
func (*Dao) SendBcoinCoupon ¶
func (d *Dao) SendBcoinCoupon(c context.Context, mids, activityID string, money int64, dueTime time.Time) (err error)
SendBcoinCoupon send bcoin coupon
func (*Dao) SendCleanCache ¶
func (d *Dao) SendCleanCache(c context.Context, mid int64, months int16, days int64, t int, ip string) (err error)
SendCleanCache clean cache
func (*Dao) SendMultipMsg ¶
func (d *Dao) SendMultipMsg(c context.Context, mids, content, title, mc, ip string, dataType int) (err error)
SendMultipMsg send multip msg
func (*Dao) SetOpenCode ¶
SetOpenCode set open code.
func (*Dao) SetPointTip ¶
SetPointTip set point tip.
func (*Dao) SetSignVip ¶
SetSignVip .
func (*Dao) SetVipInfoCache ¶
SetVipInfoCache set vip info cache.
func (*Dao) SyncAddUser ¶
SyncAddUser insert vipUserInfo
func (*Dao) SyncUpdateUser ¶
SyncUpdateUser insert vipUserInfo
func (*Dao) TxAddIosVipUserInfo ¶
TxAddIosVipUserInfo tx add ios vip user info.
func (*Dao) TxAddOrder ¶
TxAddOrder tx add order.
func (*Dao) TxAddOrderLog ¶
TxAddOrderLog .
func (*Dao) TxAddUserDiscount ¶
TxAddUserDiscount add user discount history.
func (*Dao) TxDeleteBindInfo ¶
TxDeleteBindInfo bind info.
func (*Dao) TxDupUserDiscount ¶
func (d *Dao) TxDupUserDiscount(tx *sql.Tx, mid, discountID int64, orderNo string, status int8) (err error)
TxDupUserDiscount .
func (*Dao) TxInsertAssociateGrantOrder ¶
func (d *Dao) TxInsertAssociateGrantOrder(tx *sql.Tx, oa *model.VipOrderAssociateGrant) (aff int64, err error)
TxInsertAssociateGrantOrder insert associate grant order.
func (*Dao) TxSelVipUserInfo ¶
TxSelVipUserInfo .
func (*Dao) TxUpdateAssociateGrantState ¶
func (d *Dao) TxUpdateAssociateGrantState(tx *sql.Tx, oa *model.VipOrderAssociateGrant) (aff int64, err error)
TxUpdateAssociateGrantState update associate grant state.
func (*Dao) TxUpdateBatchCode ¶
TxUpdateBatchCode tx update batch code.
func (*Dao) TxUpdateBindByOutOpenID ¶
TxUpdateBindByOutOpenID update bind by out_open_id.
func (*Dao) TxUpdateChannelID ¶
func (d *Dao) TxUpdateChannelID(tx *sql.Tx, mid int64, payChannelID int32, ver int64, oldVer int64) (err error)
TxUpdateChannelID .
func (*Dao) TxUpdateCode ¶
func (d *Dao) TxUpdateCode(tx *sql.Tx, id int64, mid int64, useTime time.Time) (eff int64, err error)
TxUpdateCode tx update code.
func (*Dao) TxUpdateCodeStatus ¶
TxUpdateCodeStatus tx update code status.
func (*Dao) TxUpdateIosPayOrder ¶
TxUpdateIosPayOrder .
func (*Dao) TxUpdateIosRenewUserInfo ¶
func (d *Dao) TxUpdateIosRenewUserInfo(tx *sql.Tx, paychannelID, ver, oldVer, mid int64, payType int8) (err error)
TxUpdateIosRenewUserInfo .
func (*Dao) TxUpdateIosUserInfo ¶
TxUpdateIosUserInfo update ios time
func (*Dao) TxUpdateOrderStatus ¶
func (d *Dao) TxUpdateOrderStatus(c context.Context, tx *sql.Tx, status int8, payType string, thirdTradeNO string, orderNO string) (err error)
TxUpdateOrderStatus update order status.
func (*Dao) TxUpdatePayOrder ¶
TxUpdatePayOrder .
func (*Dao) TxUpdatePayOrderRefundAmount ¶
func (d *Dao) TxUpdatePayOrderRefundAmount(tx *sql.Tx, id int64, refundAmount float64, ver, oldVer int64) (err error)
TxUpdatePayOrderRefundAmount update payorder refund amount
func (*Dao) TxUpdatePayOrderStatus ¶
func (d *Dao) TxUpdatePayOrderStatus(tx *sql.Tx, status int8, id int64, ver int64) (a int64, err error)
TxUpdatePayOrderStatus .
func (*Dao) UpdateActivityState ¶
func (d *Dao) UpdateActivityState(c context.Context, state int8, orderNO string) (aff int64, err error)
UpdateActivityState update act vip grant state.
func (*Dao) UpdateAssociateGrantCount ¶
func (d *Dao) UpdateAssociateGrantCount(c context.Context, arg *model.VipAssociateGrantCount) (err error)
UpdateAssociateGrantCount update associate grant count.
func (*Dao) UpdateBatchCount ¶
func (d *Dao) UpdateBatchCount(c context.Context, tx *sql.Tx, r *model.VipResourceBatch, ver int64) (a int64, err error)
UpdateBatchCount updateBatch by Id
func (*Dao) UpdateBindState ¶
UpdateBindState update bind state.
func (*Dao) UpdatePayType ¶
func (d *Dao) UpdatePayType(tx *sql.Tx, mid int64, payType int8, ver, oldVer int64) (a int64, err error)
UpdatePayType .
func (*Dao) UpdateVipTypeAndStatus ¶
func (d *Dao) UpdateVipTypeAndStatus(c context.Context, mid int64, vipStatus int32, vipType int32) (ret int64, err error)
UpdateVipTypeAndStatus update vip type and status.
func (*Dao) UpdateVipUserInfo ¶
UpdateVipUserInfo update vip user info by id
func (*Dao) UpdateWelfareBatch ¶
UpdateWelfareBatch reduce count
func (*Dao) UpdateWelfareCodeUser ¶
func (d *Dao) UpdateWelfareCodeUser(c context.Context, tx *sql.Tx, id int, mid int64) (affectedRows int64, err error)
UpdateWelfareCodeUser user receive welfare
func (*Dao) VipInfoCache ¶
VipInfoCache get vip info.
func (*Dao) VipPayOrderSuccs ¶
VipPayOrderSuccs get succ of vip pay orders.
func (*Dao) VipPriceByID ¶
VipPriceByID vip price by id.
func (*Dao) VipPriceByProductID ¶
func (d *Dao) VipPriceByProductID(c context.Context, productID string) (vpc *model.VipPriceConfig, err error)
VipPriceByProductID select vip price by product id.
func (*Dao) VipPriceConfigs ¶
VipPriceConfigs get vip price configs.
func (*Dao) VipPriceDiscountByProductID ¶
func (d *Dao) VipPriceDiscountByProductID(c context.Context, productID string) (vpc []*model.VipDPriceConfig, err error)
VipPriceDiscountByProductID select vip price discount by product id.
func (*Dao) VipPriceDiscountConfigs ¶
func (d *Dao) VipPriceDiscountConfigs(c context.Context) (mvp map[int64]*model.VipDPriceConfig, err error)
VipPriceDiscountConfigs get vip price discount configs.
Source Files ¶
- associate_banner.go
- associate_ele_api.go
- associate_mc.go
- associate_old.go
- associate_open.go
- associate_order.go
- bcoin.go
- business.go
- cache.go
- dao.cache.go
- dao.go
- dialog.go
- http.go
- jointly.go
- mail_api.go
- memcache.go
- mysql.go
- old_order.go
- oldvip.go
- order.go
- panel.go
- pay.go
- platform.go
- point.go
- privilege.go
- redis.go
- resource.go
- tips.go
- user.go
- welfare.go