收藏
回答

小程序前端弄好了,购买页面出问题?

有大佬帮帮忙吗?

商品结算界面跳出网络错误

code: 500, 

msg: Too few arguments to function app\plugins\vip_card\Plugin::vipDiscount(), 1 passed in /www/wwwroot/xcx.lfdjc.top/forms/api/order/OrderSubmitForm.php on line 2 and exactly 2 expected, 

detail: ["#181: /www/wwwroot/xcx.lfdjc.top/plugins/vip_card/Plugin.php","#2: /www/wwwroot/xcx.lfdjc.top/forms/api/order/OrderSubmitForm.php","#1: /www/wwwroot/xcx.lfdjc.top/forms/api/order/OrderSubmitForm.php","#47: /www/wwwroot/xcx.lfdjc.top/controllers/api/OrderController.php","#0: app\\controllers\\api\\OrderController->actionPreview()","#57: /www/wwwroot/xcx.lfdjc.top/vendor/yiisoft/yii2/base/InlineAction.php","#157: /www/wwwroot/xcx.lfdjc.top/vendor/yiisoft/yii2/base/Controller.php","#528: /www/wwwroot/xcx.lfdjc.top/vendor/yiisoft/yii2/base/Module.php","#228: /www/wwwroot/xcx.lfdjc.top/core/Application.php","#103: /www/wwwroot/xcx.lfdjc.top/vendor/yiisoft/yii2/web/Application.php","#386: /www/wwwroot/xcx.lfdjc.top/vendor/yiisoft/yii2/base/Application.php","#16: /www/wwwroot/xcx.lfdjc.top/web/index.php"]

回答关注问题邀请回答
收藏

2 个回答

  • o0o有脾气的酸奶
    o0o有脾气的酸奶
    2020-05-15

    2个参数的,你只传了一个

    2020-05-15
    有用
    回复
  • 孙翰南
    孙翰南
    2020-05-15

    参数少了

    2020-05-15
    有用
    回复
登录 后发表内容
问题标签