地址不修改

This commit is contained in:
2022-09-11 14:18:42 +08:00
parent df5b862b36
commit 85e5ae4a27
2 changed files with 7 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ func (c *User2Controller) GetUser() {
// @Param remark formData string false "备注"
// @Param isDefault formData int false "是否是默认"
// @Param type formData int false "1为寄件人2为取件人收货人"
// @Param autoAddress formData string false "详细地址"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /AddMyDeliveryAddress [post]
@@ -139,6 +140,7 @@ func (c *User2Controller) AddMyDeliveryAddress() {
Remark: params.Remark,
IsDefault: int8(params.IsDefault),
Type: params.Type,
AutoAddress: params.AutoAddress,
}
retVal, err = cms.AddMyDeliveryAddress(params.Ctx, address)
return retVal, "", err