|
|
@@ -4025,6 +4025,10 @@ func (this *OilSupplierController) GetSupplierCertId() {
|
|
|
// @Success 200 {object}
|
|
|
// @router /lack-cert-list [get]
|
|
|
func (this *OilSupplierController) GetLackCertList() {
|
|
|
+ secret := this.GetString("secret")
|
|
|
+ if secret != "scgl-lack-moral" {
|
|
|
+ return
|
|
|
+ }
|
|
|
supService := supplier.GetOilSupplierService(utils.DBE)
|
|
|
var supEntity supplier.OilSupplier
|
|
|
certService := suppliercert.GetOilSupplierCertService(utils.DBE)
|