1.短信功能调整
2.接口返回信息调整
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.njcn.web.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* 自定义注解,用来判断返回信息是否需要做处理
|
||||
* @author xy
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})
|
||||
public @interface ReturnMsg {
|
||||
|
||||
/**
|
||||
* 是否需要被处理
|
||||
*/
|
||||
boolean isChannel() default false;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user