Commit 3ddf99ac authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 17b57d6f
......@@ -339,14 +339,20 @@ public class VideoAdingManager {
*/
public boolean getVideoFinishFlag() {
int csjVideoAdCount = AppConfig.csjVideoAdCount;
int csjFullVedioAdCount = AppConfig.csjFullVedioAdCount;
int ylhAdCount = AppConfig.ylhAdCount;
int wnAdCount = AppConfig.wnVideoAdCount;
int ksVideoAdCount = AppConfig.ksVideoAdCount;
int flVideoAdCount = AppConfig.flVideoAdCount;
int tzVideoAdCount = AppConfig.shVideoAdCount;
if (ylhAdCount <= 0 && csjVideoAdCount <= 0 && wnAdCount <= 0
&& csjFullVedioAdCount <= 0 && ksVideoAdCount <= 0 && tzVideoAdCount <= 0) {
int ksVideoAdCount = AppConfig.ksVideoAdCount;
int csjFullVideoAdCount = AppConfig.csjFullVedioAdCount;
if (ylhAdCount <= 0 &&
csjVideoAdCount <= 0 &&
wnAdCount <= 0 &&
flVideoAdCount <= 0 &&
tzVideoAdCount <= 0 &&
csjFullVideoAdCount <= 0 &&
ksVideoAdCount <= 0 ) {
// showToast("今日视频已看完,请明天再来吧");
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment