From 4bd75d4fa05a412c3908c432e5d302cc5e48805d Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 15 Oct 2019 15:41:44 +0800 Subject: [PATCH] userPin --- platformapi/jdapi/store.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platformapi/jdapi/store.go b/platformapi/jdapi/store.go index 08bab25b..50a9e0b5 100644 --- a/platformapi/jdapi/store.go +++ b/platformapi/jdapi/store.go @@ -429,6 +429,9 @@ func interface2CreateShopResult(data interface{}) (retVal *CreateShopResult) { // 根据门店编码修改运费起送价、满免以及商家自送运费接口 // https://openo2o.jddj.com/staticnew/widgets/resources.html?groupid=194&apiid=997977a13c62449ba15f3db3b4aec932 func (a *API) UpdateStoreFreightConfigNew(upateParam *UpdateStoreFreightParam) (err error) { + if upateParam.UserPin != "" { + upateParam.UserPin = utils.GetAPIOperator(upateParam.UserPin) + } jdParams := utils.Struct2MapByJson(upateParam) _, err = a.AccessAPINoPage("freight/updateStoreFreightConfigNew", jdParams, nil, nil, genNoPageResultParser("code", "detail", "", "0")) return err