aa
This commit is contained in:
@@ -1017,6 +1017,10 @@ func (c *StoreController) InsertStoreCategories() {
|
||||
// @router /CreateVendorStore [post]
|
||||
func (c *StoreController) CreateVendorStore() {
|
||||
c.callCreateVendorStore(func(params *tStoreCreateVendorStoreParams) (retVal interface{}, errCode string, err error) {
|
||||
payload := make(map[string]interface{})
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &payload); err == nil {
|
||||
err = cms.CreateVendorStore(params.Ctx, params.StoreID, params.VendorID, payload)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user