|
@@ -1122,7 +1122,7 @@ class User extends Api
|
|
public function getagreement()
|
|
public function getagreement()
|
|
{
|
|
{
|
|
$type = input('type', 0, 'intval');
|
|
$type = input('type', 0, 'intval');
|
|
- if (!in_array($type, [1, 2, 3, 4, 5])) {
|
|
|
|
|
|
+ if (!in_array($type, [1, 2, 3, 4, 5, 6, 7, 8, 9])) {
|
|
$this->error('参数错误');
|
|
$this->error('参数错误');
|
|
}
|
|
}
|
|
|
|
|