Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shiminyan committed Jul 25, 2022
1 parent 5c0a924 commit ee31287
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.baidu.brcc.controller;

import com.baidu.brcc.annotation.LoginUser;
import com.baidu.brcc.annotation.SaveLog;
import com.baidu.brcc.domain.ApiToken;
import com.baidu.brcc.domain.ConfigGroup;
import com.baidu.brcc.domain.User;
import com.baidu.brcc.domain.base.R;
import com.baidu.brcc.domain.em.Deleted;
import com.baidu.brcc.service.ApiTokenCacheService;
Expand All @@ -19,10 +17,6 @@
import static com.baidu.brcc.common.ErrorStatusMsg.GROUP_ID_NOT_EXISTS_STATUS;
import static com.baidu.brcc.common.ErrorStatusMsg.GROUP_NOT_EXISTS_MSG;
import static com.baidu.brcc.common.ErrorStatusMsg.GROUP_NOT_EXISTS_STATUS;
import static com.baidu.brcc.common.ErrorStatusMsg.NON_LOGIN_MSG;
import static com.baidu.brcc.common.ErrorStatusMsg.NON_LOGIN_STATUS;
import static com.baidu.brcc.common.ErrorStatusMsg.PRIV_MIS_MSG;
import static com.baidu.brcc.common.ErrorStatusMsg.PRIV_MIS_STATUS;
import static com.baidu.brcc.common.ErrorStatusMsg.PROJECT_API_TOKEN_NOT_EMPTY_MSG;
import static com.baidu.brcc.common.ErrorStatusMsg.PROJECT_API_TOKEN_NOT_EMPTY_STATUS;
import static com.baidu.brcc.common.ErrorStatusMsg.PROJECT_API_TOKEN_NOT_EXISTS_MSG;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,5 @@ public void init(FilterConfig filterConfig) throws ServletException {
public void destroy() {

}
//ddd
}
2 changes: 1 addition & 1 deletion brcc-sdk/src/main/java/com/baidu/brcc/ConfigLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class ConfigLoader {

private static final String AUTH_API = "/api/auth";
private static final String ENV_API = "/api/environment/{0}";
private static final String VERSION_API = "/api/v2/version/{0}";
private static final String VERSION_API = "/api/v2/versixon/{0}";
private static final String ITEM_API = "/api/item";

private boolean enableInterruptService;
Expand Down
13 changes: 6 additions & 7 deletions brcc-server/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
redis:
host: 127.0.0.1
port: 6379
password: 123456
host: 10.12.184.32
port: 8979
db:
host: 127.0.0.1
port: 3306
username: xxx
password: xxx
host: lin2rd00.bcc-szth.baidu.com
port: 8306
username: sh_stu
password: 123456

0 comments on commit ee31287

Please sign in to comment.