Merge branch 'feature-wxid_filtration-wxy-20241209' into test
This commit is contained in:
commit
eea6d0e028
|
@ -1385,6 +1385,11 @@ func (s *Service) GetStreamerAuthApprovalStatuses(ctx *gin.Context, req *streame
|
|||
// Streamer
|
||||
func (s *Service) ApiUpdateStreamer(ctx *gin.Context, req *streamerproto.ApiUpdateReq) (ec errcode.ErrCode) {
|
||||
ec = errcode.ErrCodeStreamerSrvOk
|
||||
// 禁止设置[wxid_]开头的初始微信号
|
||||
if strings.HasPrefix(req.GetWechatContact(), "wxid_") {
|
||||
ec = errcode.ErrCodeStreamerWxIdSetError
|
||||
return
|
||||
}
|
||||
|
||||
if ec = s.ApiUpdateStreamerBusinessValidate(ctx, req); ec != errcode.ErrCodeStreamerSrvOk {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue