摘要:
未使用Async之前coffeescript写的代码:exports.product_file_add = (req,res) -> if !req.param('file_id') return res.json({'flag':'error','msg':'请先上传文件再保存!'}) ... 阅读全文
posted @ 2014-06-27 16:29 CN.programmer.Luxh 阅读(848) 评论(0) 推荐(0)
|
||
|
摘要:
未使用Async之前coffeescript写的代码:exports.product_file_add = (req,res) -> if !req.param('file_id') return res.json({'flag':'error','msg':'请先上传文件再保存!'}) ... 阅读全文
posted @ 2014-06-27 16:29 CN.programmer.Luxh 阅读(848) 评论(0) 推荐(0) |
||