|  | @@ -22,12 +22,13 @@ public abstract class WebConstants {
 | 
											
												
													
														|  |      public static final String WEB_SOCKET_URL_PRERELEASE = "wss://dev.kt.colexiu.com/audioAnalysis_kt";
 |  |      public static final String WEB_SOCKET_URL_PRERELEASE = "wss://dev.kt.colexiu.com/audioAnalysis_kt";
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      public static String getCustomUAParams() {
 |  |      public static String getCustomUAParams() {
 | 
											
												
													
														|  | -        if(BaseApplication.Companion.isTeacherClient()){
 |  | 
 | 
											
												
													
														|  | 
 |  | +        if (BaseApplication.Companion.isTeacherClient()) {
 | 
											
												
													
														|  |              return WEB_UA_PARAMS_TEACHER;
 |  |              return WEB_UA_PARAMS_TEACHER;
 | 
											
												
													
														|  | -        }else{
 |  | 
 | 
											
												
													
														|  | 
 |  | +        } else {
 | 
											
												
													
														|  |              return WEB_UA_PARAMS_STUDENT;
 |  |              return WEB_UA_PARAMS_STUDENT;
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      public static String getWebSocketUrl() {
 |  |      public static String getWebSocketUrl() {
 | 
											
												
													
														|  |          if (TextUtils.equals("preRelease", BuildConfig.BUILD_TYPE)) {
 |  |          if (TextUtils.equals("preRelease", BuildConfig.BUILD_TYPE)) {
 | 
											
												
													
														|  |              Log.i("WebConstants", "return webSocket:" + WEB_SOCKET_URL_PRERELEASE);
 |  |              Log.i("WebConstants", "return webSocket:" + WEB_SOCKET_URL_PRERELEASE);
 | 
											
										
											
												
													
														|  | @@ -52,6 +53,10 @@ public abstract class WebConstants {
 | 
											
												
													
														|  |          return BaseApplication.Companion.isTeacherClient() ? getTeacherBaseUrlH5() : getStudentBaseUrlH5();
 |  |          return BaseApplication.Companion.isTeacherClient() ? getTeacherBaseUrlH5() : getStudentBaseUrlH5();
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +    private static String getAccompanyBaseUrl() {
 | 
											
												
													
														|  | 
 |  | +        return BuildConfig.BASE_SERVER_URL + "klx-music-score/";
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      //直播课列表
 |  |      //直播课列表
 | 
											
												
													
														|  |      public static final String STUDENT_LIVE_CLASS = getBaseUrlH5() + "/#/liveClass";
 |  |      public static final String STUDENT_LIVE_CLASS = getBaseUrlH5() + "/#/liveClass";
 | 
											
												
													
														|  |      //视频课列表
 |  |      //视频课列表
 | 
											
										
											
												
													
														|  | @@ -147,7 +152,7 @@ public abstract class WebConstants {
 | 
											
												
													
														|  |      //曲谱审核失败 - 重新编辑页面
 |  |      //曲谱审核失败 - 重新编辑页面
 | 
											
												
													
														|  |      public static final String EDIT_SCORE_PAGE = getBaseUrlH5() + "/#/music-upload/%s/edit";
 |  |      public static final String EDIT_SCORE_PAGE = getBaseUrlH5() + "/#/music-upload/%s/edit";
 | 
											
												
													
														|  |      //曲谱审核成功
 |  |      //曲谱审核成功
 | 
											
												
													
														|  | -    public static final String SCORE_DETAIL_PAGE = BuildConfig.BASE_SERVER_URL +"klx-music-score/"+ "?id=%s";
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public static final String SCORE_DETAIL_PAGE = getAccompanyBaseUrl() + "?id=%s";
 | 
											
												
													
														|  |      //老师端提现签署协议页面
 |  |      //老师端提现签署协议页面
 | 
											
												
													
														|  |      public static final String PROTOCOL_SIGN_BY_TEACHER_WIYHDRAW = getBaseUrlH5() + "/#/cashProtocol";
 |  |      public static final String PROTOCOL_SIGN_BY_TEACHER_WIYHDRAW = getBaseUrlH5() + "/#/cashProtocol";
 | 
											
												
													
														|  |      //老师端交易记录页面
 |  |      //老师端交易记录页面
 | 
											
										
											
												
													
														|  | @@ -186,5 +191,5 @@ public abstract class WebConstants {
 | 
											
												
													
														|  |          return WebConstants.WEB_UA_PARAMS + WebConstants.getCustomUAParams();
 |  |          return WebConstants.WEB_UA_PARAMS + WebConstants.getCustomUAParams();
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public static final String WORKS_MUSIC_SCORE = getBaseUrlH5() + "#/simple-detail?id=%s&musicRenderType=%s&part-index=%s";////作品合成单行铺面
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public static final String WORKS_MUSIC_SCORE = getAccompanyBaseUrl() + "#/simple-detail?id=%s&musicRenderType=%s&part-index=%s";////作品合成单行铺面
 | 
											
												
													
														|  |  }
 |  |  }
 |