<?php
namespace app\mobile\controller;

class OmsHome extends OmsBase
{
    public function index()
    {
        return $this->guarded(function () {
            $this->requireMethod('GET');
            $this->current();
            // 不返回未接入业务的虚构待办数量。
            return json(['code' => 0, 'message' => '成功', 'data' => ['announcement'=>'新版首页与个人账号服务已准备就绪，业务功能将按实际需求逐步整理。', 'modules'=>[]]]);
        });
    }
}
