Commit af62510b by “zcwang”

add: 拦截器测试

parent bebf7cc0
......@@ -20,6 +20,7 @@ import com.netease.mail.yanxuan.change.biz.service.rpc.TodoService;
import com.netease.mail.yanxuan.change.biz.task.AutoSubmit;
import com.netease.mail.yanxuan.change.common.bean.AdminUserHolder;
import com.netease.mail.yanxuan.change.common.bean.AjaxResult;
import com.netease.mail.yanxuan.change.common.bean.RequestLocalBean;
import com.netease.mail.yanxuan.change.common.bean.ResponseCode;
import com.netease.mail.yanxuan.change.common.enums.ChangeFlowEnum;
import com.netease.mail.yanxuan.change.dal.entity.ChangeRecord;
......@@ -72,7 +73,7 @@ public class TestController {
@GetMapping("/getUid")
public AjaxResult<String> getUid() {
return AjaxResult.success(AdminUserHolder.getUserName());
return AjaxResult.success(RequestLocalBean.getUid());
}
}
\ No newline at end of file
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