dangyanglim

Results 7 comments of dangyanglim

i meet the same problem the response header lacks of Access-Control-Allow-Origin header cors do not work can u tell me how to get the cors version and how to update

it work when i put router := gin.Default() router.Use(cors.Default()) together not split

电脑上调试可以,预览不行啊,真机调试就报这个,真是好烦啊

我还没写这块的diam,你可以看下cnode的代码里面有置顶 https://github.com/cnodejs/nodeclub/blob/master/controllers/topic.js#L296

https://github.com/dangyanglim/go_cnode/blob/master/controllers/topic/topic.go#L95 刚加了置顶的功能

没有,原来的cnode网站也没有,登录的人有管理员权限的话,可以删贴,置顶等操作