新增处方平台取消订单
This commit is contained in:
@@ -35,6 +35,7 @@ type basic struct {
|
||||
|
||||
// 订单管理
|
||||
type order struct {
|
||||
Order // 订单
|
||||
OrderInquiry // 问诊订单
|
||||
OrderProduct // 药品订单
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user