| 12345678910111213141516 |
- package shop
- // 获取汇率信息
- //func GetCurrencyRateByIp(userId int, ipAddress string) string {
- // u := user.GetUserInfo(userId)
- // if u != nil {
- // if u.Currency != "" {
- // return u.Currency
- // }
- // }
- //
- // currency := coreClient.GetCurrency(userId, ipAddress)
- // log.Debug("getCurrency userId=%d ipAddress=%s currency=%s", userId, ipAddress, currency)
- //
- // return currency
- //}
|