We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug 无法选择支付方式,勾选报错
To Reproduce Steps to reproduce the behavior:
服务器版本:2.1.2 服务器地址:http://test-plus.zhibocloud.cn/admin#/wallet/pay/type 错误日志:
{ "message": "Invalid argument supplied for foreach()", "exception": "ErrorException", "file": "/www/wwwroot/demos/plus/app/Models/CommonConfig.php", "line": 72, "trace": [ { "file": "/www/wwwroot/demos/plus/app/Models/CommonConfig.php", "line": 72, "function": "handleError", "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php", "line": 729, "function": "setKeysForSaveQuery", "class": "Zhiyi\\Plus\\Models\\CommonConfig", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php", "line": 644, "function": "performUpdate", "class": "Illuminate\\Database\\Eloquent\\Model", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php", "line": 431, "function": "save", "class": "Illuminate\\Database\\Eloquent\\Model", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Support/helpers.php", "line": 1027, "function": "Illuminate\\Database\\Eloquent\\{closure}", "class": "Illuminate\\Database\\Eloquent\\Builder", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php", "line": 432, "function": "tap" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php", "line": 23, "function": "updateOrCreate", "class": "Illuminate\\Database\\Eloquent\\Builder", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php", "line": 1608, "function": "forwardCallTo", "class": "Illuminate\\Database\\Eloquent\\Model", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php", "line": 1620, "function": "__call", "class": "Illuminate\\Database\\Eloquent\\Model", "type": "->" }, { "file": "/www/wwwroot/demos/plus/app/Repository/WalletRechargeType.php", "line": 79, "function": "__callStatic", "class": "Illuminate\\Database\\Eloquent\\Model", "type": "::" }, { "file": "/www/wwwroot/demos/plus/app/Http/Controllers/Admin/WalletRechargeTypeController.php", "line": 59, "function": "store", "class": "Zhiyi\\Plus\\Repository\\WalletRechargeType", "type": "->" }, { "function": "update", "class": "Zhiyi\\Plus\\Http\\Controllers\\Admin\\WalletRechargeTypeController", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Controller.php", "line": 54, "function": "call_user_func_array" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php", "line": 45, "function": "callAction", "class": "Illuminate\\Routing\\Controller", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "line": 212, "function": "dispatch", "class": "Illuminate\\Routing\\ControllerDispatcher", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Route.php", "line": 169, "function": "runController", "class": "Illuminate\\Routing\\Route", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "line": 679, "function": "run", "class": "Illuminate\\Routing\\Route", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 30, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Router", "type": "->" }, { "file": "/www/wwwroot/demos/plus/app/Http/Middleware/UserAbility.php", "line": 56, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Zhiyi\\Plus\\Http\\Middleware\\UserAbility", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php", "line": 41, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php", "line": 75, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php", "line": 49, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\View\\Middleware\\ShareErrorsFromSession", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php", "line": 63, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Session\\Middleware\\StartSession", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php", "line": 37, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php", "line": 66, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Cookie\\Middleware\\EncryptCookies", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 104, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "line": 681, "function": "then", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "line": 656, "function": "runRouteWithinStack", "class": "Illuminate\\Routing\\Router", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "line": 622, "function": "runRoute", "class": "Illuminate\\Routing\\Router", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Router.php", "line": 611, "function": "dispatchToRoute", "class": "Illuminate\\Routing\\Router", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "line": 176, "function": "dispatch", "class": "Illuminate\\Routing\\Router", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 30, "function": "Illuminate\\Foundation\\Http\\{closure}", "class": "Illuminate\\Foundation\\Http\\Kernel", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/fideloper/proxy/src/TrustProxies.php", "line": 57, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Fideloper\\Proxy\\TrustProxies", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "line": 31, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php", "line": 31, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php", "line": 27, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php", "line": 62, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/medz/cors/src/Laravel/Middleware/Cors.php", "line": 62, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 151, "function": "handle", "class": "Medz\\Cors\\Laravel\\Middleware\\Cors", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php", "line": 53, "function": "Illuminate\\Pipeline\\{closure}", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php", "line": 104, "function": "Illuminate\\Routing\\{closure}", "class": "Illuminate\\Routing\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "line": 151, "function": "then", "class": "Illuminate\\Pipeline\\Pipeline", "type": "->" }, { "file": "/www/wwwroot/demos/plus/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php", "line": 116, "function": "sendRequestThroughRouter", "class": "Illuminate\\Foundation\\Http\\Kernel", "type": "->" }, { "file": "/www/wwwroot/demos/plus/public/index.php", "line": 64, "function": "handle", "class": "Illuminate\\Foundation\\Http\\Kernel", "type": "->" } ] }
The text was updated successfully, but these errors were encountered:
fix(后台): 修复老的公用配置查询 key 出错
16d0ae9
#458
medz
No branches or pull requests
Describe the bug
无法选择支付方式,勾选报错
To Reproduce
Steps to reproduce the behavior:
5.点击提交,报错
服务器版本:2.1.2
服务器地址:http://test-plus.zhibocloud.cn/admin#/wallet/pay/type
错误日志:
The text was updated successfully, but these errors were encountered: