禁用用户测试
This commit is contained in:
@@ -472,16 +472,16 @@ func (c *User2Controller) UpdateUserWxNoAndPercent() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 删除分账接收方
|
||||
// @Description 删除分账接收方
|
||||
// @Title 禁用用户(删除离职用户信息)
|
||||
// @Description 禁用用户(删除离职用户信息)
|
||||
// @Param token header string true "认证token"
|
||||
// @Param userID query string true "用户userID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /DeleteProfitSharingReceiver [delete]
|
||||
func (c *User2Controller) DeleteProfitSharingReceiver() {
|
||||
c.callDeleteProfitSharingReceiver(func(params *tUser2DeleteProfitSharingReceiverParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.DeleteProfitSharingReceiver(params.Ctx, params.UserID)
|
||||
// @router /DeleteUserInfo [delete]
|
||||
func (c *User2Controller) DeleteUserInfo() {
|
||||
c.callDeleteUserInfo(func(params *tUser2DeleteUserInfoParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.DeleteUserInfo(params.Ctx, params.UserID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user