|
|
@@ -98,14 +98,16 @@ public class ThWestreamTiktokServiceImpl extends ServiceImpl<ThWestreamTiktokMap |
|
|
|
.eq(ThWestreamTiktok::getMark, 1) |
|
|
|
.orderByDesc(ThWestreamTiktok::getCreateTime) |
|
|
|
.last("limit 1")); |
|
|
|
//0未申请 1待审核(或驳回) 2通过 |
|
|
|
//0未申请(或驳回) 1待审核 2通过 |
|
|
|
if(ObjectUtil.isNull(thWestreamTiktok)){ |
|
|
|
return JsonResult.success(0); |
|
|
|
}else { |
|
|
|
if(1 == thWestreamTiktok.getStatus() || 3 == thWestreamTiktok.getStatus()){ |
|
|
|
if(1 == thWestreamTiktok.getStatus()){ |
|
|
|
return JsonResult.success(1); |
|
|
|
}else if(2 == thWestreamTiktok.getStatus()){ |
|
|
|
return JsonResult.success(2); |
|
|
|
}else if(3 == thWestreamTiktok.getStatus()){ |
|
|
|
return JsonResult.success(0); |
|
|
|
}else { |
|
|
|
return JsonResult.success(0); |
|
|
|
} |