|
@@ -36,6 +36,7 @@ import com.zhongzheng.modules.order.domain.OrderGoods;
|
|
|
import com.zhongzheng.modules.order.service.IOrderGoodsService;
|
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
|
import com.zhongzheng.modules.order.service.impl.OrderServiceImpl;
|
|
|
+import com.zhongzheng.modules.system.bo.SysNginxConfigAddBo;
|
|
|
import com.zhongzheng.modules.system.bo.SysTenantAdminBo;
|
|
|
import com.zhongzheng.modules.system.domain.SysTenant;
|
|
|
import com.zhongzheng.modules.system.service.ISysTenantService;
|
|
@@ -371,4 +372,11 @@ public class CommonController
|
|
|
webService.restartWebService();
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("nginx配置")
|
|
|
+ @PostMapping("common/free/configNginxFile")
|
|
|
+ public AjaxResult<Void> configNginxFile(@RequestBody SysNginxConfigAddBo bo) {
|
|
|
+ webService.configNginxFile(bo);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
}
|