from app.dao.article_dao import ArticleDao
import datetime


class ArticleService:

    @staticmethod
    def create(model):
        model['time'] = datetime.datetime.now()
        return ArticleDao.create(model)

b3a72a1b2e42258e599b3d8d4ed8f1713f5055bc
<mask token>

<mask token>


class ArticleService:
    <mask token>

<mask token>


class ArticleService:

    @staticmethod
    def create(model):
        model['time'] = datetime.datetime.now()
        return ArticleDao.create(model)

from app.dao.article_dao import ArticleDao
import datetime


class ArticleService:

    @staticmethod
    def create(model):
        model['time'] = datetime.datetime.now()
        return ArticleDao.create(model)
