|
@@ -20,6 +20,10 @@ type BusinessTrip struct {
|
|
|
controllers.BaseAuth
|
|
|
}
|
|
|
|
|
|
+const (
|
|
|
+ ApproveUserId = 2 //施琪
|
|
|
+)
|
|
|
+
|
|
|
// @Title 出差申请接口
|
|
|
// @Description 出差申请接口
|
|
|
// @Param request body business_trip.BusinessApplyReq true "type json string"
|
|
@@ -142,7 +146,7 @@ func (this *BusinessTrip) ApplyAdd() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- approveItem, err := admin.GetAdminById(66)
|
|
|
+ approveItem, err := admin.GetAdminById(ApproveUserId)
|
|
|
if err != nil {
|
|
|
this.FailWithMessage("获取审批人信息失败", "获取审批人信息失败,Err:"+err.Error())
|
|
|
return
|
|
@@ -443,7 +447,7 @@ func (this *BusinessTrip) ApplyEdit() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- approveItem, err := admin.GetAdminById(66)
|
|
|
+ approveItem, err := admin.GetAdminById(ApproveUserId)
|
|
|
if err != nil {
|
|
|
this.FailWithMessage("获取审批人信息失败!", "获取审批人信息失败,Err:"+err.Error())
|
|
|
return
|