+ TransferLegacyWeixins
This commit is contained in:
@@ -204,3 +204,17 @@ func (c *User2Controller) DeleteUsers4Role() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 给指定角色添加用户列表
|
||||
// @Description 给指定角色添加用户列表
|
||||
// @Param token header string true "认证token"
|
||||
// @Param mobile formData string false "手机号"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /TransferLegacyWeixins [post]
|
||||
func (c *User2Controller) TransferLegacyWeixins() {
|
||||
c.callTransferLegacyWeixins(func(params *tUser2TransferLegacyWeixinsParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.TransferLegacyWeixins(params.Mobile)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user