public static String buildContextPath(final String contextPath, final String appName) {
        return UriUtils.repairData(StringUtils.isEmpty(contextPath) ? appName : contextPath);
    }
Build context path string.

@param contextPath the context path
@param appName the app name
@return the string
shenyu-common/src/main/java/org/apache/shenyu/common/utils/ContextPathUtils.java