- support upload img pre check.
This commit is contained in:
@@ -21,3 +21,19 @@ func (c *InitDataController) InitPlace() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 初始化skuname(当前主要是计算md5)
|
||||
// @Description 初始化skuname(当前主要是计算md5)
|
||||
// @Param token header string true "认证token"
|
||||
// @Param isForce formData bool false "是否强刷,即即使本地已经有了hashCode也重新计算,缺省为false"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /InitSkuName [post]
|
||||
func (c *InitDataController) InitSkuName() {
|
||||
c.callInitSkuName(func(params *tInitdataInitSkuNameParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = initdata.InitSkuName(params.Ctx, params.IsForce, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user