|
@@ -191,7 +191,12 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
|
}else {
|
|
|
sceneJyUser = jyUserService.getByUserId(sceneUserId);
|
|
|
}
|
|
|
-
|
|
|
+ if(param.getLookAuth() == 1 || param.getEditAuth() == 1){
|
|
|
+ param.setIsAuthor(1);
|
|
|
+ }
|
|
|
+ if(param.getLookAuth() == 0 && param.getEditAuth() == 0){
|
|
|
+ param.setIsAuthor(0);
|
|
|
+ }
|
|
|
JySceneAuth jySceneAuth = jySceneAuthService.getByNum(param.getNum());
|
|
|
if(jySceneAuth == null){
|
|
|
jySceneAuth = new JySceneAuth(0);
|