JSD-9551 WebService开放
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
1011 B

/*
* Copyright (C), 2015-2019
* FileName: URLAliasBridge
* Author: Louis
* Date: 2019/8/17 22:21
* Description: URLAliasBridge
* History:
* <author> <time> <version> <desc>
*/
package com.fr.plugin.tabledataservice.request;
import com.fr.decision.fun.impl.AbstractURLAliasProvider;
import com.fr.decision.webservice.url.alias.URLAlias;
import com.fr.decision.webservice.url.alias.URLAliasFactory;
import com.fr.plugin.tabledataservice.Constants;
import com.fr.stable.fun.Authorize;
/**
* 〈Function Description〉<br>
* 〈URLAliasBridge〉
*
* @author fr.open
* @since 1.0.0
*/
@Authorize(callSignKey = Constants.PLUGIN_ID)
public class URLAliasBridge extends AbstractURLAliasProvider {
@Override
public URLAlias[] registerAlias() {
return new URLAlias[]{
URLAliasFactory.createPluginAlias("/api/data", "/api/data", true),
URLAliasFactory.createPluginAlias("/api/report", "/api/report", true),
};
}
}