member
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user