#启动演示
- 执行bin下refresh-db.sh,初始化数据
- eclipse 下运行src/test/java/com/banyou/backend/BackendServer 3 执行bin下h2.sh,查看控制台
#权限 角色 1.admin 大王,无敌模式 2.manager 网站运营 3.merchant 商家 4.user 网站用户
#路径
-
base 路径 127.0.0.1:8081/bidoushi/
-
商品
- list get 127.0.0.1:8081/bidoushi/product done
- create get 127.0.0.1:8081/bidoushi/product/create done
- createSubmit post 127.0.0.1:8081/bidoushi/product/create
- update get 127.0.0.1:8081/bidoushi/product/update/{id} done
- updateSubmit post 127.0.0.1:8081/bidoushi/product/update/{id}
- delete get 127.0.0.1:8081/bidoushi/product/delete/{id} done
-
dest
- list get 127.0.0.1:8081/bidoushi/dest (json dest.json or $.getJSON(dest))
- product dest list get 127.0.0.1:8081/bidoushi/dest.json?productId={id} //暂时不需要
-
tag
- list.json get 127.0.0.1:8081/bidoushi/tag
- product tag list get 127.0.0.1:8081/bidoushi/tag.json?productId={id}//暂时不需要
-
upload
- uploadfile post 127.0.0.1:8081/bidoushi/upload
- downloadfile get 127.0.0.1/8081/bidoushi/download
-
用户权限加入