Browse Source

去掉多余的分号

develop
李可松 4 years ago
parent
commit
47a0799f6a
  1. 2
      app/Http/Controllers/Api/AgentInfoController.php

2
app/Http/Controllers/Api/AgentInfoController.php

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

Loading…
Cancel
Save