增加导出-提现记录

This commit is contained in:
2023-11-13 16:22:24 +08:00
parent b0db2dd29a
commit d05ea66f01
7 changed files with 385 additions and 133 deletions
+56 -56
View File
@@ -592,60 +592,60 @@ func privateRouter(r *gin.Engine, api controller.Api) {
}
}
// // 导出管理
// exportGroup := adminGroup.Group("/export")
// {
// // 提现
// withdrawalGroup := exportGroup.Group("/withdrawal")
// {
// // 提现记录
// withdrawalGroup.POST("", api.Export.DoctorWithdrawal)
//
// // 提现记录-关联订单
// withdrawalGroup.POST("/order", api.UserCaCert.RenewUserCloudCert)
// }
//
// // 医生
// doctorGroup := exportGroup.Group("/doctor")
// {
// // 医生列表
// doctorGroup.POST("", api.UserCaCert.RenewUserCloudCert)
//
// // 医生银行卡
// doctorGroup.POST("/bank/card", api.UserCaCert.RenewUserCloudCert)
//
// // 医生账户
// doctorGroup.POST("/account", api.UserCaCert.RenewUserCloudCert)
//
// // 医生账户-关联订单
// doctorGroup.POST("/account/order", api.UserCaCert.RenewUserCloudCert)
// }
//
// // 患者
// patientGroup := exportGroup.Group("/patient")
// {
// // 患者列表
// patientGroup.POST("", api.UserCaCert.RenewUserCloudCert)
//
// // 就诊人列表
// patientGroup.POST("/family", api.UserCaCert.RenewUserCloudCert)
// }
//
// // 订单
// orderGroup := exportGroup.Group("/order")
// {
// // 问诊订单
// orderGroup.POST("/inquiry", api.UserCaCert.RenewUserCloudCert)
//
// // 药品订单
// orderGroup.POST("/product", api.UserCaCert.RenewUserCloudCert)
// }
//
// // 处方
// prescriptionGroup := exportGroup.Group("/prescription")
// {
// // 处方
// prescriptionGroup.POST("", api.UserCaCert.RenewUserCloudCert)
// }
// }
// 导出管理
exportGroup := adminGroup.Group("/export")
{
// 提现
withdrawalGroup := exportGroup.Group("/withdrawal")
{
// 提现记录
withdrawalGroup.POST("", api.Export.DoctorWithdrawal)
// 提现记录-关联订单
withdrawalGroup.POST("/order", api.UserCaCert.RenewUserCloudCert)
}
// 医生
doctorGroup := exportGroup.Group("/doctor")
{
// 医生列表
doctorGroup.POST("", api.UserCaCert.RenewUserCloudCert)
// 医生银行卡
doctorGroup.POST("/bank/card", api.UserCaCert.RenewUserCloudCert)
// 医生账户
doctorGroup.POST("/account", api.UserCaCert.RenewUserCloudCert)
// 医生账户-关联订单
doctorGroup.POST("/account/order", api.UserCaCert.RenewUserCloudCert)
}
// 患者
patientGroup := exportGroup.Group("/patient")
{
// 患者列表
patientGroup.POST("", api.UserCaCert.RenewUserCloudCert)
// 就诊人列表
patientGroup.POST("/family", api.UserCaCert.RenewUserCloudCert)
}
// 订单
orderGroup := exportGroup.Group("/order")
{
// 问诊订单
orderGroup.POST("/inquiry", api.UserCaCert.RenewUserCloudCert)
// 药品订单
orderGroup.POST("/product", api.UserCaCert.RenewUserCloudCert)
}
// 处方
prescriptionGroup := exportGroup.Group("/prescription")
{
// 处方
prescriptionGroup.POST("", api.UserCaCert.RenewUserCloudCert)
}
}
}