<?php

namespace app\mobile\controller;


class Document extends MobileMall
{
    public function _initialize()
    {
        parent::_initialize(); // TODO: Change the autogenerated stub
    }
    public function agreement() {
        $doc = Model('document')->getOneByCode('agreement');
        output_data($doc);
    }
}