|
|
@@ -71,6 +71,9 @@ func (l *AcquirerMktQrUpdateLogic) AcquirerMktQrUpdate(r *http.Request) (*types.
|
|
|
if partUser.Id == 0 {
|
|
|
return &types.Response{500, "请先申请成为兼职", nil}, nil
|
|
|
}
|
|
|
+ if partUser.MkId == "" {
|
|
|
+ return &types.Response{500, "请联系管理员,分配mk", nil}, nil
|
|
|
+ }
|
|
|
erpUser, err := model.GetErpUser("", partUser.MkId, l.svcCtx.Transformer)
|
|
|
if err != nil {
|
|
|
logx.Error(err.Error())
|