api/App/Controllers/DocComment.php

23 lines
469 B
PHP

<?php
namespace App\Controllers;
use App\Models;
use Core\Controller;
use Core\View;
use Parsedown;
use App\Config;
class DocComment extends Controller
{
public function insertAction(){
$comment = new Models\DocComment();
date_default_timezone_set("Asia/Shanghai");
var_dump($this->input);
$userdate = date("Y-m-d H:i:s",time());
$comment->InsertObject($this->input);
//$this->JsonResp(200,$all,"OK");
}
}