module.exports = { create: { requestBody: [ "room_id", "password", "room_phone", "title", "desc", "start_time", "end_time", "join_end", "user_id", "apply", "province", "videodata", "place", "user_id", "adminuser", "phone", "passwd", "vipuser", "email", "company", "sponsor", "organizer", "openid", ], }, destroy: { params: ["!id"], service: "delete", }, update: { params: ["!id"], requestBody: [ "room_phone", "title", "desc", "status", "apply", "start_time", "end_time", "join_end", "province", "place", "videodata", "adminuser", "phone", "passwd", "vipuser", "email", "company", "sponsor", "organizer", "openid", ], }, show: { parameters: { params: ["!id"], }, service: "fetch", }, index: { parameters: { query: { room_phone: "room_phone", room_id: "room_id", title: "%title%", desc: "desc", start_time: "start_time", end_time: "end_time", join_end: "join_end", user_id: "user_id", status: "status", province: "province", place: "place", adminuser: "adminuser", sponsor: "sponsor", organizer: "organizer", phone: "phone", }, }, service: "query", options: { query: ["skip", "limit"], sort: ["meta.createdAt"], desc: true, count: true, }, }, apply: { params: ["!id"], requestBody: ["user_id", "user_name", "goodsList", "contact_tel", "role"], service: "apply", }, goods: { params: ["!id"], requestBody: [ "_id", "totaltype", "name", "product_type_id", "introduction", "phase", "price", "priceunit", "image", "field", "scope", "coopermode", "business", "budget", "end_date", "difficult_problem", "demand", "address", "mature", "team", "property", "mature", "coopercompany", "other", "contact_tel", "contact_user", "dockStatus", ], service: "goods", }, check: { params: ["!id", "!dock_id"], requestBody: ["status"], service: "check", }, // dockCheck: { // params: ["!id"], // requestBody: ["is_allowed", "reason"], // service: "dockCheck", // }, vipdelete: { params: ["!id"], service: "dockVipDelete", }, };