Node.JS 项目结构 项目使用express+ redis+mongoose+mysql
项目API配置文件
{ “host”:“127.0.0.1”,
“index”:"/", “good”:"/goods", “getGoods”: “/get/:page”, “getGoodsByKey”: “/category/:key”, “getGoodsByType”:"/type/:type", “getGoodDetail”:"/det/:token/:id",
“transact”:"/transact", “creTransact”:"/cre/:token", “yetTransact”:"/pay/yet/:token/:page", “payTransact”:"/pay/to_pay/:token/:id", “getTransact”:"/all/:token", “senTransact”:"/sen/:token/:id/:is_sen", “gotTransact”:"/got/:token/:page",
“user”:"/user", “getUser”:"/get/:token", “registerUser”:"/register", “signOutUser”:"/logout/:token", “signInUser”:"/login/", “forget”:"/forget",
“address”:"/address", “getAddress”:"/all/", “addAddress”:"/add/:token", “delAddress”:"/del/:token/:id", “upAddress”:"/up/:token/:id",
“shop”:"/shop", “getShop”:"/all/:token", “addShop”:"/add/:token", “upShop”:"/up/:token/:id/:count", “delShop”:"/del/:token/:id",
“point”:"/point", “addPoint”:"/add/:token/:point", “delPoint”:"/del/:token/:id", “getSumPoint”:"/sum/:token" }
现在找Android合作,开发Android 端APP,做业余项目