✨ ERP:初始化模块,立个 2024 年的 flag
parent
722223c659
commit
ebd9222764
@ -0,0 +1,10 @@
|
|||||||
|
package cn.iocoder.yudao.module.erp.enums;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ERP 字典类型的枚举类
|
||||||
|
*
|
||||||
|
* @author 芋道源码
|
||||||
|
*/
|
||||||
|
public interface DictTypeConstants {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
### 请求 /transfer
|
||||||
|
GET {{baseUrl}}/erp/sale-order/demo
|
||||||
|
Authorization: Bearer {{token}}
|
||||||
|
tenant-id: {{adminTenentId}}
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
package cn.iocoder.yudao.module.erp.controller.admin.sale;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
|
||||||
|
|
||||||
|
@Tag(name = "管理后台 - ERP 销售订单")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/erp/sale-order")
|
||||||
|
@Validated
|
||||||
|
public class ErpSaleOrderController {
|
||||||
|
|
||||||
|
@GetMapping("/demo")
|
||||||
|
public CommonResult<Boolean> demo() {
|
||||||
|
return success(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue