You've already forked FrameTour-BE
更换请求为hutool
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.ycwl.basic.notify;
|
||||
|
||||
import com.ycwl.basic.notify.adapters.INotifyAdapter;
|
||||
import com.ycwl.basic.notify.adapters.ServerChanNotifyAdapter;
|
||||
import com.ycwl.basic.notify.enums.NotifyType;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -10,7 +11,7 @@ public class NotifyFactory {
|
||||
public static INotifyAdapter get(NotifyType type) {
|
||||
switch (type) {
|
||||
case SERVER_CHAN:
|
||||
return new com.ycwl.basic.notify.adapters.ServerChanNotifyAdapter();
|
||||
return new ServerChanNotifyAdapter();
|
||||
default:
|
||||
throw new RuntimeException("不支持的通知类型");
|
||||
}
|
||||
|
Reference in New Issue
Block a user