- 禁用门店创建与修改银行相关信息,添加Store.PayeeBankCode,删除Store.PayeeBankName
This commit is contained in:
@@ -592,6 +592,8 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
|
||||
// valid["districtCode"] = api.AutonaviAPI.GetCoordinateDistrictCode(lng, lat)
|
||||
// }
|
||||
globals.SugarLogger.Debugf("UpdateStore track:%s, valid:%s", ctx.GetTrackInfo(), utils.Format4Output(valid, true))
|
||||
delete(valid, "payeeBankBranchName")
|
||||
delete(valid, "payeeBankCode")
|
||||
if len(valid) > 0 {
|
||||
dao.Begin(db)
|
||||
defer func() {
|
||||
@@ -667,6 +669,7 @@ func EnableHaveRestStores(ctx *jxcontext.Context, isAsync, isContinueWhenError b
|
||||
}
|
||||
|
||||
func CreateStore(ctx *jxcontext.Context, storeExt *StoreExt, userName string) (id int, err error) {
|
||||
return 0, fmt.Errorf("暂时禁用门店创建,请稍后")
|
||||
globals.SugarLogger.Debugf("CreateStore storeExt:%s", utils.Format4Output(storeExt, false))
|
||||
store := &storeExt.Store
|
||||
if store.ID != 0 && !jxutils.IsLegalStoreID(store.ID) {
|
||||
|
||||
Reference in New Issue
Block a user