...
|
...
|
@@ -129,7 +129,7 @@ class AdminModel extends global.yoho.BaseModel { |
|
|
* @param id 文章ID
|
|
|
* @returns {*}
|
|
|
*/
|
|
|
createArticle(actId, userName, content, createTime) {
|
|
|
createArticle({actId, userName, content, createTime}) {
|
|
|
return mysqlCli.insert(
|
|
|
`insert into ${TB_ACT_ARTICLE}
|
|
|
(act_id, user_name, content, create_time) values
|
...
|
...
|
|