新增处方平台取消订单

This commit is contained in:
2023-09-13 10:49:42 +08:00
parent 6f77093b38
commit 29e05ef1ce
11 changed files with 391 additions and 13 deletions
+1
View File
@@ -35,6 +35,7 @@ type basic struct {
// 订单管理
type order struct {
Order // 订单
OrderInquiry // 问诊订单
OrderProduct // 药品订单
}
+18
View File
@@ -0,0 +1,18 @@
package controller
import (
"fmt"
"github.com/gin-gonic/gin"
"hospital-admin-api/api/responses"
"hospital-admin-api/extend/prescription"
)
type Order struct{}
func (r *Order) ReportPreOrder(c *gin.Context) {
token, err := prescription.NoticePreOrderCancel("124")
if err != nil {
responses.OkWithData(err.Error(), c)
}
fmt.Println(token)
}