org.zodiac.boot.ctrl.PlatformRemoteService Maven / Gradle / Ivy
The newest version!
package org.zodiac.boot.ctrl;
import javax.validation.Validator;
import org.zodiac.boot.config.PlatformUploadFileInfo;
import org.zodiac.core.web.remote.BaseRemoteService;
import org.zodiac.security.auth.model.SecurityPlatformUser;
public abstract class PlatformRemoteService extends BaseRemoteService {
private final PlatformUploadFileInfo platformUploadFileInfo;
protected PlatformRemoteService(Validator validator, PlatformUploadFileInfo platformUploadFileInfo) {
super(validator);
this.platformUploadFileInfo = platformUploadFileInfo;
}
protected final PlatformUploadFileInfo getPlatformUploadFileInfo() {
return platformUploadFileInfo;
}
protected abstract REQ getRequest();
/**
* 获取当前用户。
*
* @return 用户
*/
protected abstract SecurityPlatformUser getUser();
}