KPI绩效考核系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
683 B

package systemapproval
import (
"key_performance_indicators/overall/publicmethod"
"sync"
"github.com/gin-gonic/gin"
)
// 系统内部审批处理
type ApiMethod struct{}
// 协程设置
var syncSeting = sync.WaitGroup{}
// 系统内部审批处理
func (a *ApiMethod) Index(c *gin.Context) {
outputCont := publicmethod.MapOut[string]()
outputCont["index"] = "系统内部审批处理入口"
publicmethod.Result(0, outputCont, c)
}
// 审批参数
type AppFlowData struct {
OrderId string `json:"orderid"` //订单ID
YesOrNo int `json:"yesorno"` //1:批准;2:驳回
Content string `json:"content"` //审批意见
Stepper int `json:"stepper"` //步进器
}