This commit is contained in:
richboo111
2023-09-20 11:07:50 +08:00
parent 5e8801e947
commit 895fd601ae
3 changed files with 32 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ import (
"encoding/json"
"errors"
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/business/partner/purchase/tao_vegetable"
"git.rosy.net.cn/baseapi/utils"
@@ -1698,6 +1701,24 @@ func (c *StoreController) UpdateTxdStore() {
})
}
// @Title 查询美团门店logo审核状态
// @Description 远查询美团门店logo审核状态
// @Param token header string true "认证token"
// @Param appPoiCodes query string true "门店ID列表"
// @Param vendorOrgCode query string true "厂商内组织代码"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetMtAuditList [get]
func (c *StoreController) GetMtAuditList() {
c.callGetMtAuditList(func(params *tStoreGetMtAuditListParams) (interface{}, string, error) {
if len(params.AppPoiCodes) > 0 && len(params.VendorOrgCode) > 0 {
retVal, err := partner.CurAPIManager.GetAPI(model.VendorIDMTWM, params.VendorOrgCode).(*mtwmapi.API).GetSettleAuditList(params.AppPoiCodes)
return retVal, "", err
}
return nil, "", nil
})
}
// @Title 测试操作freight_template
// @Description 测试操作freight_template
// @Param token header string true "认证token"