verify.php
567 字节
<?php
return [
//小程序参数
'raw' => [
'app_id' => 'wx322817859bfe5db1',//app_id
'secret' => '99031bb53087e80ae0ff93411f7ae01d',//秘钥
],
//小程序登录
'user' => [
'rule' => [
'code' => 'require',
'nickname' => 'require',
'avatar' => 'require',
],
'msg' => [
'name.require' => '昵称不能为空',
'code.require' => 'code码不能为空',
'avatar' => '头像不能为空',
]
],
];