截流自动化的商城平台
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.

SetWechatUserValidate.php 413B

12345678910111213141516171819
  1. <?php
  2. namespace app\api\validate;
  3. use think\Validate;
  4. class SetWechatUserValidate extends Validate
  5. {
  6. protected $rule = [
  7. 'nickname' => 'require',
  8. 'avatar' => 'require',
  9. 'sex' => 'require',
  10. ];
  11. protected $message = [
  12. 'nickname.require' => '参数缺失',
  13. 'avatar.require' => '参数缺失',
  14. 'sex.require' => '参数缺失',
  15. ];
  16. }