截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GoodsCommentValidate.php 811B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace app\api\validate;
  3. use think\Validate;
  4. class GoodsCommentValidate extends Validate
  5. {
  6. protected $rule = [
  7. 'order_goods_id' => 'require',
  8. 'goods_comment' =>'require',
  9. 'description_comment' =>'require',
  10. 'service_comment' =>'require',
  11. 'express_comment' =>'require',
  12. ];
  13. protected $message = [
  14. 'order_goods_id.require' =>'请传入子订单id',
  15. 'shop_id.require' =>'请传入店铺id',
  16. 'goods_comment.require' =>'请进行商品评价',
  17. 'description_comment.require' =>'请进行描述相符评价',
  18. 'service_comment.require' =>'请进行服务态度评价',
  19. 'express_comment.require' =>'请进行配送服务评价',
  20. ];
  21. }