 
   apiRoot = "/api/"
   mapping = [
+      #项目
       path: "#{apiRoot}project"
       biz: "project"
     ,

        put: false
    ,
      #查看素材
      path: "assets/:project_id/:file",
      biz: "asset"
      methods:
        get: "readFile"

        post: false,
        delete: false
    ,
      #issue
      path: "#{apiRoot}project/:project_id/issue"
      biz: "issue"
    ,
      #针对issue的评论
      path: "#{apiRoot}issue/:issue_id/comment"
      biz: "comment"
    ,
      #建立或者解除asset与issue的关系
      path: "#{apiRoot}issue/:issue_id/asset"
      biz: "asset_issue_relation"
      methods:
        put: false
  ]

  mapping.forEach (map)->
