fence
This commit is contained in:
19
business/partner/delivery/tiktok_store/store.go
Normal file
19
business/partner/delivery/tiktok_store/store.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package tiktok_store
|
||||
|
||||
//
|
||||
//func (c *DeliveryHandler) UpdateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (err error) {
|
||||
// if globals.EnableStoreWrite {
|
||||
// //info:=&
|
||||
//
|
||||
// shopInfo := &mtpsapi.ShopInfo{
|
||||
// ShopID: utils.Int2Str(storeDetail.ID),
|
||||
// ContactName: storeDetail.PayeeName,
|
||||
// ContactPhone: storeDetail.Tel1,
|
||||
// ShopAddress: storeDetail.Address,
|
||||
// ShopLat: storeDetail.Lat,
|
||||
// ShopLng: storeDetail.Lng,
|
||||
// }
|
||||
// _, err = api.MtpsAPI.ShopUpdate(shopInfo)
|
||||
// }
|
||||
// return err
|
||||
//}
|
||||
75
business/partner/delivery/tiktok_store/waybill.go
Normal file
75
business/partner/delivery/tiktok_store/waybill.go
Normal file
@@ -0,0 +1,75 @@
|
||||
package tiktok_store
|
||||
|
||||
//
|
||||
//import (
|
||||
// "git.rosy.net.cn/baseapi/platformapi/mtpsapi"
|
||||
// "git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
||||
// "git.rosy.net.cn/jx-callback/business/model"
|
||||
// "git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
// "git.rosy.net.cn/jx-callback/business/partner"
|
||||
// "git.rosy.net.cn/jx-callback/globals/api"
|
||||
//)
|
||||
//
|
||||
//var (
|
||||
// curDeliveryHandler *DeliveryHandler
|
||||
//)
|
||||
//
|
||||
//type DeliveryHandler struct {
|
||||
//}
|
||||
//
|
||||
//func init() {
|
||||
// if api.TiktokStore != nil {
|
||||
// curDeliveryHandler = new(DeliveryHandler)
|
||||
// partner.RegisterDeliveryPlatform(curDeliveryHandler, true)
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) GetVendorID() int {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (vendorStoreID string, status int, err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeDetail *dao.StoreDetail2, err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) IsErrStoreNotExist(err error) bool {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) IsErrStoreExist(err error) bool {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) CreateWaybill(order *model.GoodsOrder, maxDeliveryFee int64) (bill *model.Waybill, err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) CancelWaybill(bill *model.Waybill, cancelReasonID int, cancelReason string) (err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInfo *partner.WaybillFeeInfo, err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) ComplaintRider(bill *model.Waybill, resonID int, resonContent string) (err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
//
|
||||
//func (c *DeliveryHandler) GetRiderInfo(orderId string, deliveryId int64, mtPeisongId string) (rider *mtpsapi.RiderInfo, err error) {
|
||||
// //TODO implement me
|
||||
// panic("implement me")
|
||||
//}
|
||||
Reference in New Issue
Block a user