|
@ -8,6 +8,7 @@ import com.win.common.utils.ServletUtils; |
|
|
import com.win.common.utils.file.FileUploadUtils; |
|
|
import com.win.common.utils.file.FileUploadUtils; |
|
|
import com.win.common.utils.file.FileUtils; |
|
|
import com.win.common.utils.file.FileUtils; |
|
|
import com.win.print.util.DataUnitl; |
|
|
import com.win.print.util.DataUnitl; |
|
|
|
|
|
import jakarta.annotation.Resource; |
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions; |
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
import org.springframework.beans.factory.annotation.Value; |
|
@ -40,10 +41,10 @@ public class WinPrintModelController extends BaseController |
|
|
{ |
|
|
{ |
|
|
private String prefix = "print/modelmanager"; |
|
|
private String prefix = "print/modelmanager"; |
|
|
|
|
|
|
|
|
@Autowired |
|
|
@Resource |
|
|
private IWinPrintModelService winPrintModelService; |
|
|
private IWinPrintModelService winPrintModelService; |
|
|
@Value("${win.path.template}") |
|
|
@Value("${win.path.template}") |
|
|
private String templatePathDefault; |
|
|
private String templatePathDefault="/models"; |
|
|
@RequiresPermissions("print:modelmanager:view") |
|
|
@RequiresPermissions("print:modelmanager:view") |
|
|
@GetMapping() |
|
|
@GetMapping() |
|
|
public String modelmanager() |
|
|
public String modelmanager() |
|
|