aa
This commit is contained in:
@@ -1861,11 +1861,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||||
storeMap := batchItemList[0].(*model.StoreMap)
|
storeMap := batchItemList[0].(*model.StoreMap)
|
||||||
FreeBatchInfo("uuuuu2", func(task tasksch.ITask, batchedStoreSkuList []int64) (result interface{}, successCount int, err error) {
|
FreeBatchInfo("uuuuu2", func(task tasksch.ITask, batchedStoreSkuList []int64) (result interface{}, successCount int, err error) {
|
||||||
priceInfo, _ := api.JdAPI.GetStationInfoList(storeMap.VendorStoreID, batchedStoreSkuList)
|
priceInfo, _ := apimanager. //GetStationInfoList(storeMap.VendorStoreID, batchedStoreSkuList)
|
||||||
var list []*jdapi.SkuIdEntity
|
var list []*jdapi.SkuIdEntity
|
||||||
for _, vv := range priceInfo {
|
for _, vv := range priceInfo {
|
||||||
if vv.VipPrice != 0 {
|
if vv.VipPrice != 0 {
|
||||||
// fmt.Println("vipPrice uuu", vv.SkuID)
|
|
||||||
list = append(list, &jdapi.SkuIdEntity{
|
list = append(list, &jdapi.SkuIdEntity{
|
||||||
OutSkuId: thingIDmap[vv.SkuID],
|
OutSkuId: thingIDmap[vv.SkuID],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"git.rosy.net.cn/jx-callback/globals/beegodb"
|
"git.rosy.net.cn/jx-callback/globals/beegodb"
|
||||||
"github.com/astaxie/beego/server/web"
|
beego "github.com/astaxie/beego/server/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Init() {
|
func Init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user