新增平台京东商城
This commit is contained in:
@@ -20,6 +20,7 @@ type PurchaseHandler struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
fmt.Println("test222222222222222222")
|
||||
if api.JdShopAPI != nil {
|
||||
fmt.Println("test111111111111111111111")
|
||||
CurPurchaseHandler = New()
|
||||
@@ -34,7 +35,7 @@ func New() (obj *PurchaseHandler) {
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) GetVendorID() int {
|
||||
return model.VendorIDYB
|
||||
return model.VendorIDJDShop
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) UploadImg(ctx *jxcontext.Context, vendorOrgCode, imgURL string, imgData []byte, imgName string, imgType int) (imgHint string, err error) {
|
||||
|
||||
Reference in New Issue
Block a user