- tempop.RetrieveEbaiShopLicence
This commit is contained in:
@@ -3,8 +3,13 @@ package controllers
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/tempop"
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
type TempOpController struct {
|
||||
beego.Controller
|
||||
}
|
||||
|
||||
// @Title 将为份的商品在京东转成SPU
|
||||
// @Description 将为份的商品在京东转成SPU
|
||||
// @Param token header string true "认证token"
|
||||
@@ -174,8 +179,8 @@ func (c *InitDataController) RefreshEbaiBadComment() {
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /PrintMsg [post]
|
||||
func (c *InitDataController) PrintMsg() {
|
||||
c.callPrintMsg(func(params *tInitdataPrintMsgParams) (retVal interface{}, errCode string, err error) {
|
||||
func (c *TempOpController) PrintMsg() {
|
||||
c.callPrintMsg(func(params *tTempopPrintMsgParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = tempop.PrintMsg(params.Ctx, params.VendorID, params.Id1, params.Id2, params.MsgTitle, params.MsgContent)
|
||||
return retVal, "", err
|
||||
})
|
||||
@@ -189,9 +194,24 @@ func (c *InitDataController) PrintMsg() {
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /UpdateAllWeiXinRemark [post]
|
||||
func (c *InitDataController) UpdateAllWeiXinRemark() {
|
||||
c.callUpdateAllWeiXinRemark(func(params *tInitdataUpdateAllWeiXinRemarkParams) (retVal interface{}, errCode string, err error) {
|
||||
func (c *TempOpController) UpdateAllWeiXinRemark() {
|
||||
c.callUpdateAllWeiXinRemark(func(params *tTempopUpdateAllWeiXinRemarkParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = tempop.UpdateAllWeiXinRemark(params.Ctx, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title XXXX
|
||||
// @Description XXXX
|
||||
// @Param token header string true "认证token"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /RetrieveEbaiShopLicence [post]
|
||||
func (c *TempOpController) RetrieveEbaiShopLicence() {
|
||||
c.callRetrieveEbaiShopLicence(func(params *tTempopRetrieveEbaiShopLicenceParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = tempop.RetrieveEbaiShopLicence(params.Ctx, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user