This commit is contained in:
苏尹岚
2020-10-19 11:04:13 +08:00
parent 00553e32e8
commit d9f8d2f4bb
3 changed files with 0 additions and 57 deletions

View File

@@ -177,25 +177,6 @@ func (c *Auth2Controller) UpdateUserByMiniInfo() {
})
}
// @Title 更新用户分成比例
// @Description 更新用户分成比例
// @Param token header string true "认证token"
// @Param userID formData string true "用户userID"
// @Param dividePercentage formData int fasle "用户分成比例"
// @Param isReceiver formData bool true "是否加入分账接收方,默认是"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateUserWxNoAndPercent [put]
func (c *User2Controller) UpdateUserWxNoAndPercent() {
c.callUpdateUserWxNoAndPercent(func(params *tUser2UpdateUserWxNoAndPercentParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.UpdateUserWxNoAndPercent(&model.User{
UserID: params.UserID,
DividePercentage: params.DividePercentage,
}, params.IsReceiver)
return retVal, "", err
})
}
// @Title 禁用用户(删除离职用户信息)
// @Description 禁用用户(删除离职用户信息)
// @Param token header string true "认证token"