post

package
v0.0.0-...-8b29e06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterAddNewPost

func AfterAddNewPost(post *model.Post, threadID int)

回复帖子后的东西 * 只有登录才可以回帖

	        -- forum       todayposts_cnt+1
	        -- thread      last_date  posts_cnt+1 first_post_id last_user_id last_post_id
	        -- post        插入一条数据:thread_id user_id isfirst=0 userip doctype=0 message
            -- mypost      插入一条数据:user_id thread_id post_id
            user        posts_cnt+1 credits_num+1[回帖帖加积分]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL