no message

This commit is contained in:
liujing
2021-10-29 17:55:13 +08:00
parent 04a792acea
commit 0005cba3ec
2 changed files with 3 additions and 17 deletions

View File

@@ -1,22 +1,18 @@
package com.mogo.eagle.core.function.notice;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import androidx.fragment.app.Fragment;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.mogo.eagle.core.data.constants.MogoServicePaths;
import com.mogo.eagle.core.function.api.notice.IMoGoNoticeProvider;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* @author Jing
* @description 云公告
* @description 云公告公告
* @since: 10/27/21
*/
@Route(path = MogoServicePaths.PATH_AI_NOTICE)
@@ -24,12 +20,6 @@ public class NoticeProvider implements IMoGoNoticeProvider {
private String TAG = "AINotice";
private Context mContext;
@Nullable
@Override
public Fragment createCoverage(@Nullable Context context, @Nullable Bundle data) {
return null;
}
@NotNull
@Override
public String getFunctionName() {
@@ -47,5 +37,4 @@ public class NoticeProvider implements IMoGoNoticeProvider {
mContext = context;
NoticeSocketManager.getInstance().registerSocketMessageListener(context);
}
}

View File

@@ -1,16 +1,13 @@
package com.mogo.eagle.core.function.api.notice;
import com.mogo.eagle.core.data.notice.NoticeNormalData;
import com.mogo.eagle.core.data.notice.NoticeTrafficStylePushData;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionProvider;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
/**
* @author Jing
* @description 云公告监听者
* @since: 10/27/21
*/
public interface IMoGoNoticeProvider extends IMoGoFunctionProvider {
public interface IMoGoNoticeProvider extends IMoGoFunctionServerProvider {
}