|
|
@ -11,7 +11,7 @@ class AgentInfoController extends Controller |
|
|
{ |
|
|
{ |
|
|
public function info() |
|
|
public function info() |
|
|
{ |
|
|
{ |
|
|
$type = request()->route('type');; |
|
|
|
|
|
|
|
|
$type = request()->route('type'); |
|
|
//关于我们、注册协议、购买协议
|
|
|
//关于我们、注册协议、购买协议
|
|
|
if (!in_array($type, ['about', 'reg_protocol', 'buy_protocol'])) { |
|
|
if (!in_array($type, ['about', 'reg_protocol', 'buy_protocol'])) { |
|
|
return $this->error('参数无效'); |
|
|
return $this->error('参数无效'); |
|
|
|