From f05597883f3008a81d5ae33cb2468c0df3128210 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 23 Aug 2023 14:35:47 +0800 Subject: [PATCH] update --- app/admin/svc/svc_central_kitchen_for_school_package.go | 2 +- .../hdl/self_support_for_school/hdl_faceCollection.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/admin/svc/svc_central_kitchen_for_school_package.go b/app/admin/svc/svc_central_kitchen_for_school_package.go index 9a151d8..8777f65 100644 --- a/app/admin/svc/svc_central_kitchen_for_school_package.go +++ b/app/admin/svc/svc_central_kitchen_for_school_package.go @@ -27,7 +27,7 @@ func AddCentralKitchenForSchoolPackage(req md.SaveCentralKitchenForSchoolPackage EnterpriseId: req.EnterpriseId, Year: req.Year, Month: req.Month, - TotalPrice: "", + TotalPrice: "0", StartDate: req.StartDate, EndDate: req.EndDate, State: 1, diff --git a/app/customer/hdl/self_support_for_school/hdl_faceCollection.go b/app/customer/hdl/self_support_for_school/hdl_faceCollection.go index 8faf1ae..74a5123 100644 --- a/app/customer/hdl/self_support_for_school/hdl_faceCollection.go +++ b/app/customer/hdl/self_support_for_school/hdl_faceCollection.go @@ -42,7 +42,7 @@ func EducateSceneTokenQuery(c *gin.Context) { AliPrivateKey string `json:"ali_private_key" label:"支付宝开放平台-小程序-应用私钥"` AliPublicKey string `json:"ali_public_key" label:"支付宝开放平台-小程序-支付宝公钥"` }{ - AliAppId: sysCfg[enum.OpenAlipayAppid], + AliAppId: sysCfg[enum.OpenAppletAppid], AliPrivateKey: sysCfg[enum.OpenAppletAppPrivateKey], AliPublicKey: sysCfg[enum.OpenAppletPublicKey], }, @@ -90,7 +90,7 @@ func EducateSceneTokenCreateForApplet(c *gin.Context) { AliPrivateKey string `json:"ali_private_key" label:"支付宝开放平台-小程序-应用私钥"` AliPublicKey string `json:"ali_public_key" label:"支付宝开放平台-小程序-支付宝公钥"` }{ - AliAppId: sysCfg[enum.OpenAlipayAppid], + AliAppId: sysCfg[enum.OpenAppletAppid], AliPrivateKey: sysCfg[enum.OpenAppletAppPrivateKey], AliPublicKey: sysCfg[enum.OpenAppletPublicKey], }, @@ -201,7 +201,7 @@ func EducateSceneTokenCreateForConcentratedCollectApplet(c *gin.Context) { AliPrivateKey string `json:"ali_private_key" label:"支付宝开放平台-小程序-应用私钥"` AliPublicKey string `json:"ali_public_key" label:"支付宝开放平台-小程序-支付宝公钥"` }{ - AliAppId: sysCfg[enum.OpenAlipayAppid], + AliAppId: sysCfg[enum.OpenAppletAppid], AliPrivateKey: sysCfg[enum.OpenAppletAppPrivateKey], AliPublicKey: sysCfg[enum.OpenAppletPublicKey], },