1.短信功能调整

2.接口返回信息调整
This commit is contained in:
2023-08-28 10:50:28 +08:00
parent ff178a3ee5
commit e84b6d6698
7 changed files with 244 additions and 126 deletions

View File

@@ -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;
}