首页 文章 精选 留言 我的

精选列表

搜索[MaaS平台],共10000篇文章
优秀的个人博客,低调大师

校园交易平台后台系统git操作全过程

项目初始化 Shusheng Shi@PC-of-sss MINGW64 /h/mmall $ touch README.md Shusheng Shi@PC-of-sss MINGW64 /h/mmall $ touch .gitignore Shusheng Shi@PC-of-sss MINGW64 /h/mmall $ git init Initialized empty Git repository in H:/mmall/.git/ Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git status On branch master Initial commit Untracked files: (use "git add <file>..." to include in what will be committed) .gitignore README.md pom.xml src/ nothing added to commit but untracked files present (use "git add" to track) Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git add . warning: CRLF will be replaced by LF in .gitignore. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in pom.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/webapp/WEB-INF/web.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/webapp/index.jsp. The file will have its original line endings in your working directory. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git status On branch master Initial commit Changes to be committed: (use "git rm --cached <file>..." to unstage) new file: .gitignore new file: README.md new file: pom.xml new file: src/main/webapp/WEB-INF/web.xml new file: src/main/webapp/index.jsp Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git commit -am 'first commit init project' [master (root-commit) 0383eae] first commit init project 5 files changed, 69 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 pom.xml create mode 100644 src/main/webapp/WEB-INF/web.xml create mode 100644 src/main/webapp/index.jsp Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git remote add origin git@gitee.com:shushengshi/mmall_learning.git Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git branch * master Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git push -u origin master To gitee.com:shushengshi/mmall_learning.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'git@gitee.com:shushengshi/mmall_learning.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git pull warning: no common commits remote: Counting objects: 3, done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. From gitee.com:shushengshi/mmall_learning * [new branch] master -> origin/master There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch> If you wish to set tracking information for this branch you can do so with: git branch --set-upstream-to=origin/<branch> master Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git push -u origin master To gitee.com:shushengshi/mmall_learning.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'git@gitee.com:shushengshi/mmall_learning.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git push -u -f origin master Counting objects: 11, done. Delta compression using up to 4 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (11/11), 1.22 KiB | 0 bytes/s, done. Total 11 (delta 0), reused 0 (delta 0) To gitee.com:shushengshi/mmall_learning.git + 1e43320...0383eae master -> master (forced update) Branch master set up to track remote branch master from origin. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git branch * master Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git branch -r origin/master Shusheng Shi@PC-of-sss MINGW64 /h/mmall (master) $ git checkout -b v1.0 origin/master Switched to a new branch 'v1.0' Branch v1.0 set up to track remote branch master from origin. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git branch master * v1.0 Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git push origin HEAD -u Total 0 (delta 0), reused 0 (delta 0) To gitee.com:shushengshi/mmall_learning.git * [new branch] HEAD -> v1.0 Branch v1.0 set up to track remote branch v1.0 from origin. 配置文件完成 Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: pom.xml modified: src/main/webapp/WEB-INF/web.xml Untracked files: (use "git add <file>..." to include in what will be committed) src/main/java/ src/main/resources/ src/main/webapp/WEB-INF/dispatcher-servlet.xml no changes added to commit (use "git add" and/or "git commit -a") Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git add . warning: CRLF will be replaced by LF in pom.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/webapp/WEB-INF/web.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/CartMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/CategoryMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/OrderItemMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/OrderMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/PayInfoMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/ProductMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/ShippingMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/UserMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/Cart.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/Category.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/Order.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/OrderItem.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/PayInfo.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/Product.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/Shipping.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/pojo/User.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/applicationContext-datasource.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/applicationContext.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/generatorConfig.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/CartMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/CategoryMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/OrderItemMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/OrderMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/PayInfoMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/ProductMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/ShippingMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/UserMapper.xml. The file will have its original line endings in your working directory. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: pom.xml new file: src/main/java/com/mmall/dao/CartMapper.java new file: src/main/java/com/mmall/dao/CategoryMapper.java new file: src/main/java/com/mmall/dao/OrderItemMapper.java new file: src/main/java/com/mmall/dao/OrderMapper.java new file: src/main/java/com/mmall/dao/PayInfoMapper.java new file: src/main/java/com/mmall/dao/ProductMapper.java new file: src/main/java/com/mmall/dao/ShippingMapper.java new file: src/main/java/com/mmall/dao/UserMapper.java new file: src/main/java/com/mmall/pojo/Cart.java new file: src/main/java/com/mmall/pojo/Category.java new file: src/main/java/com/mmall/pojo/Order.java new file: src/main/java/com/mmall/pojo/OrderItem.java new file: src/main/java/com/mmall/pojo/PayInfo.java new file: src/main/java/com/mmall/pojo/Product.java new file: src/main/java/com/mmall/pojo/Shipping.java new file: src/main/java/com/mmall/pojo/User.java new file: src/main/resources/applicationContext-datasource.xml new file: src/main/resources/applicationContext.xml new file: src/main/resources/datasource.properties new file: src/main/resources/generatorConfig.xml new file: src/main/resources/logback.xml new file: src/main/resources/mappers/CartMapper.xml new file: src/main/resources/mappers/CategoryMapper.xml new file: src/main/resources/mappers/OrderItemMapper.xml new file: src/main/resources/mappers/OrderMapper.xml new file: src/main/resources/mappers/PayInfoMapper.xml new file: src/main/resources/mappers/ProductMapper.xml new file: src/main/resources/mappers/ShippingMapper.xml new file: src/main/resources/mappers/UserMapper.xml new file: src/main/resources/mmall.properties new file: src/main/webapp/WEB-INF/dispatcher-servlet.xml modified: src/main/webapp/WEB-INF/web.xml Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git commit -am 'project init commit' [v1.0 ff5f0ba] project init commit 33 files changed, 3048 insertions(+), 10 deletions(-) create mode 100644 src/main/java/com/mmall/dao/CartMapper.java create mode 100644 src/main/java/com/mmall/dao/CategoryMapper.java create mode 100644 src/main/java/com/mmall/dao/OrderItemMapper.java create mode 100644 src/main/java/com/mmall/dao/OrderMapper.java create mode 100644 src/main/java/com/mmall/dao/PayInfoMapper.java create mode 100644 src/main/java/com/mmall/dao/ProductMapper.java create mode 100644 src/main/java/com/mmall/dao/ShippingMapper.java create mode 100644 src/main/java/com/mmall/dao/UserMapper.java create mode 100644 src/main/java/com/mmall/pojo/Cart.java create mode 100644 src/main/java/com/mmall/pojo/Category.java create mode 100644 src/main/java/com/mmall/pojo/Order.java create mode 100644 src/main/java/com/mmall/pojo/OrderItem.java create mode 100644 src/main/java/com/mmall/pojo/PayInfo.java create mode 100644 src/main/java/com/mmall/pojo/Product.java create mode 100644 src/main/java/com/mmall/pojo/Shipping.java create mode 100644 src/main/java/com/mmall/pojo/User.java create mode 100644 src/main/resources/applicationContext-datasource.xml create mode 100644 src/main/resources/applicationContext.xml create mode 100644 src/main/resources/datasource.properties create mode 100644 src/main/resources/generatorConfig.xml create mode 100644 src/main/resources/logback.xml create mode 100644 src/main/resources/mappers/CartMapper.xml create mode 100644 src/main/resources/mappers/CategoryMapper.xml create mode 100644 src/main/resources/mappers/OrderItemMapper.xml create mode 100644 src/main/resources/mappers/OrderMapper.xml create mode 100644 src/main/resources/mappers/PayInfoMapper.xml create mode 100644 src/main/resources/mappers/ProductMapper.xml create mode 100644 src/main/resources/mappers/ShippingMapper.xml create mode 100644 src/main/resources/mappers/UserMapper.xml create mode 100644 src/main/resources/mmall.properties create mode 100644 src/main/webapp/WEB-INF/dispatcher-servlet.xml rewrite src/main/webapp/WEB-INF/web.xml (93%) Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git push Counting objects: 46, done. Delta compression using up to 4 threads. Compressing objects: 100% (43/43), done. Writing objects: 100% (46/46), 19.54 KiB | 0 bytes/s, done. Total 46 (delta 17), reused 0 (delta 0) To gitee.com:shushengshi/mmall_learning.git 0383eae..ff5f0ba v1.0 -> v1.0 用户模块完成 Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: pom.xml modified: src/main/java/com/mmall/dao/UserMapper.java modified: src/main/resources/logback.xml modified: src/main/resources/mappers/UserMapper.xml modified: src/main/webapp/WEB-INF/dispatcher-servlet.xml modified: src/main/webapp/WEB-INF/web.xml Untracked files: (use "git add <file>..." to include in what will be committed) src/main/java/com/mmall/common/ src/main/java/com/mmall/controller/ src/main/java/com/mmall/service/ src/main/java/com/mmall/util/ no changes added to commit (use "git add" and/or "git commit -a") Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git add . warning: CRLF will be replaced by LF in pom.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/UserMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/UserMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/webapp/WEB-INF/web.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/common/Const.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/common/ResponseCode.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/common/ServerResponse.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/common/TokenCache.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/controller/backend/UserManageController.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/controller/portal/UserController.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/IUserService.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/impl/UserServiceImpl.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/util/MD5Util.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/util/PropertiesUtil.java. The file will have its original line endings in your working directory. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: pom.xml new file: src/main/java/com/mmall/common/Const.java new file: src/main/java/com/mmall/common/ResponseCode.java new file: src/main/java/com/mmall/common/ServerResponse.java new file: src/main/java/com/mmall/common/TokenCache.java new file: src/main/java/com/mmall/controller/backend/UserManageController.java new file: src/main/java/com/mmall/controller/portal/UserController.java modified: src/main/java/com/mmall/dao/UserMapper.java new file: src/main/java/com/mmall/service/IUserService.java new file: src/main/java/com/mmall/service/impl/UserServiceImpl.java new file: src/main/java/com/mmall/util/MD5Util.java new file: src/main/java/com/mmall/util/PropertiesUtil.java modified: src/main/resources/logback.xml modified: src/main/resources/mappers/UserMapper.xml modified: src/main/webapp/WEB-INF/dispatcher-servlet.xml modified: src/main/webapp/WEB-INF/web.xml Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git commit -am '用户模块' [v1.0 cf30e25] 用户模块 16 files changed, 828 insertions(+), 35 deletions(-) create mode 100644 src/main/java/com/mmall/common/Const.java create mode 100644 src/main/java/com/mmall/common/ResponseCode.java create mode 100644 src/main/java/com/mmall/common/ServerResponse.java create mode 100644 src/main/java/com/mmall/common/TokenCache.java create mode 100644 src/main/java/com/mmall/controller/backend/UserManageController.java create mode 100644 src/main/java/com/mmall/controller/portal/UserController.java create mode 100644 src/main/java/com/mmall/service/IUserService.java create mode 100644 src/main/java/com/mmall/service/impl/UserServiceImpl.java create mode 100644 src/main/java/com/mmall/util/MD5Util.java create mode 100644 src/main/java/com/mmall/util/PropertiesUtil.java Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git push Counting objects: 35, done. Delta compression using up to 4 threads. Compressing objects: 100% (30/30), done. Writing objects: 100% (35/35), 9.47 KiB | 0 bytes/s, done. Total 35 (delta 10), reused 0 (delta 0) To gitee.com:shushengshi/mmall_learning.git ff5f0ba..cf30e25 v1.0 -> v1.0 商品模块完成 Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: src/main/java/com/mmall/common/Const.java modified: src/main/java/com/mmall/dao/ProductMapper.java modified: src/main/java/com/mmall/util/PropertiesUtil.java modified: src/main/resources/mappers/ProductMapper.xml modified: src/main/webapp/index.jsp Untracked files: (use "git add <file>..." to include in what will be committed) src/main/java/com/mmall/controller/backend/ProductManageController.java src/main/java/com/mmall/controller/portal/ProductController.java src/main/java/com/mmall/service/IFileService.java src/main/java/com/mmall/service/IProductService.java src/main/java/com/mmall/service/impl/FileServiceImpl.java src/main/java/com/mmall/service/impl/ProductServiceImpl.java src/main/java/com/mmall/util/DateTimeUtil.java src/main/java/com/mmall/util/FTPUtil.java src/main/java/com/mmall/vo/ no changes added to commit (use "git add" and/or "git commit -a") Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git add . warning: CRLF will be replaced by LF in src/main/java/com/mmall/common/Const.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/ProductMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/util/PropertiesUtil.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/ProductMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/webapp/index.jsp. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/controller/backend/ProductManageController.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/controller/portal/ProductController.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/IFileService.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/IProductService.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/impl/FileServiceImpl.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/impl/ProductServiceImpl.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/util/DateTimeUtil.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/util/FTPUtil.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/vo/ProductDetailVo.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/vo/ProductListVo.java. The file will have its original line endings in your working directory. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: src/main/java/com/mmall/common/Const.java new file: src/main/java/com/mmall/controller/backend/ProductManageController.java new file: src/main/java/com/mmall/controller/portal/ProductController.java modified: src/main/java/com/mmall/dao/ProductMapper.java new file: src/main/java/com/mmall/service/IFileService.java new file: src/main/java/com/mmall/service/IProductService.java new file: src/main/java/com/mmall/service/impl/FileServiceImpl.java new file: src/main/java/com/mmall/service/impl/ProductServiceImpl.java new file: src/main/java/com/mmall/util/DateTimeUtil.java new file: src/main/java/com/mmall/util/FTPUtil.java modified: src/main/java/com/mmall/util/PropertiesUtil.java new file: src/main/java/com/mmall/vo/ProductDetailVo.java new file: src/main/java/com/mmall/vo/ProductListVo.java modified: src/main/resources/mappers/ProductMapper.xml modified: src/main/webapp/index.jsp Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git commit -am '商品模块' [v1.0 0c8dab1] 商品模块 15 files changed, 1055 insertions(+), 16 deletions(-) create mode 100644 src/main/java/com/mmall/controller/backend/ProductManageController.java create mode 100644 src/main/java/com/mmall/controller/portal/ProductController.java create mode 100644 src/main/java/com/mmall/service/IFileService.java create mode 100644 src/main/java/com/mmall/service/IProductService.java create mode 100644 src/main/java/com/mmall/service/impl/FileServiceImpl.java create mode 100644 src/main/java/com/mmall/service/impl/ProductServiceImpl.java create mode 100644 src/main/java/com/mmall/util/DateTimeUtil.java create mode 100644 src/main/java/com/mmall/util/FTPUtil.java create mode 100644 src/main/java/com/mmall/vo/ProductDetailVo.java create mode 100644 src/main/java/com/mmall/vo/ProductListVo.java Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git push Counting objects: 34, done. Delta compression using up to 4 threads. Compressing objects: 100% (31/31), done. Writing objects: 100% (34/34), 10.86 KiB | 0 bytes/s, done. Total 34 (delta 11), reused 0 (delta 0) To gitee.com:shushengshi/mmall_learning.git 6d19e5a..0c8dab1 v1.0 -> v1.0 收货地址模块完成 Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: src/main/java/com/mmall/dao/ShippingMapper.java modified: src/main/resources/mappers/ShippingMapper.xml Untracked files: (use "git add <file>..." to include in what will be committed) src/main/java/com/mmall/controller/portal/ShippingController.java src/main/java/com/mmall/service/IShippingService.java src/main/java/com/mmall/service/impl/ShippingServiceImpl.java no changes added to commit (use "git add" and/or "git commit -a") Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git add . warning: CRLF will be replaced by LF in src/main/java/com/mmall/dao/ShippingMapper.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/resources/mappers/ShippingMapper.xml. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/controller/portal/ShippingController.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/IShippingService.java. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/main/java/com/mmall/service/impl/ShippingServiceImpl.java. The file will have its original line endings in your working directory. Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git status On branch v1.0 Your branch is up-to-date with 'origin/v1.0'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: src/main/java/com/mmall/controller/portal/ShippingController.java modified: src/main/java/com/mmall/dao/ShippingMapper.java new file: src/main/java/com/mmall/service/IShippingService.java new file: src/main/java/com/mmall/service/impl/ShippingServiceImpl.java modified: src/main/resources/mappers/ShippingMapper.xml Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git commit -am '收货地址模块' [v1.0 eb1bb33] 收货地址模块 5 files changed, 295 insertions(+), 25 deletions(-) create mode 100644 src/main/java/com/mmall/controller/portal/ShippingController.java create mode 100644 src/main/java/com/mmall/service/IShippingService.java create mode 100644 src/main/java/com/mmall/service/impl/ShippingServiceImpl.java Shusheng Shi@PC-of-sss MINGW64 /h/mmall (v1.0) $ git push Counting objects: 19, done. Delta compression using up to 4 threads. Compressing objects: 100% (16/16), done. Writing objects: 100% (19/19), 3.45 KiB | 0 bytes/s, done. Total 19 (delta 9), reused 0 (delta 0) To gitee.com:shushengshi/mmall_learning.git 8c735cb..eb1bb33 v1.0 -> v1.0

优秀的个人博客,低调大师

帮助企业做好MaxCompute大数据平台成本优化的最佳实践

阿里云大数据计算服务MaxCompute通过灵活性、简单性和创新为您企业的业务环境带来了变革,但是您企业是否通过其实现了原本预期的节省成本的目标呢?本文中,我们将为广大读者诸君介绍优化您企业MaxCompute开销的一些关键性的策略。 自从MaxCompute于2010年进入市场以来,计算服务MaxCompute就已然永远地改变了整个IT世界了。尽管其价格优势已经领先业界了,但仍然有许多企业客户了解到,迁移到公共云服务并不总是能够帮助他们实现预期的成本节约的目标。 这并不意味着迁移到公共云服务是一个错误。公共云服务在敏捷性、响应性、简化操作和提高创新方面提供了巨大的优势。 这方面的错误在于:假设在不实施管理和自动化的情况下迁移到公共云服务,也能带来成本的节约。为了应对不断上涨的云基础设施成本,我们建议您企业组织不妨参考和借鉴本文

优秀的个人博客,低调大师

【物联网中间件平台-04】YFIOs驱动开发指南

1 YFIOs简介 YFIOs就是YFSoft I/O Server的简称,在物联网、云计算时代,一切以数据为中心,不同的传感器通过不同的方式接入网络,通过云计算的方式为不同的终端用户提供服务。 为了适应这种新形势的发展,加速和降低各种传感器、智能模块的入网代价,以微软成熟的.NET Micro Framework系统为基础,打造出物联网时代的轻量级嵌入式组态系统 ——YFIOs。 详情请参见《YFIOs技术白皮书》。 2 驱动开发 2.1 YFIOs SDK安装 请参见文档《YFIOs安装指南》。 2.2新建驱动项目 选择YFIOs Driver模板进行驱动开发。 2.3代码模板 public DriverInfo GetDriverInfo() { DriverInfo info = new DriverInfo(); //驱动名称 info.Name = this.Name; //版本号 info.Ver = "V1.0.0"; //说明 info.Explain = "虚拟串口设备"; //开发者 info.Developer = "yefan"; //开发日期 info.Date = "2011-10-18"; //自动化标志 //0 bit 0 - 系统为你初始化通信接口 1 - 由驱动程序本身完成通信接口初始化 //1 bit 0 - 无操作 1 - 由驱动程序本身完成IO变量添加 //2~31 bit 备用 info.AutoFlag = 0; //ConnMode-Manufacturer-DeviceType 是驱动的唯一标识 //通信方式 info.ConnMode = DeviceConnMode.SerialPort; //制造商 info.Manufacturer = "YFSoft"; //设备的类型 info.DeviceType = "VirtualDevice"; //端口配置 info.PortAddrExplain = "串 口 号:"; info.PortAddrValue = "COM1|COM2|COM3|COM4|COM5|COM6|COM7|COM8"; info.PortConfigExplain = "串口参数:"; info.PortConfigValue = "9600,n,8,1"; //设备配置 info.DeviceAddrExplain = ""; info.DeviceAddrValue = ""; info.DeviceConfigExplain = ""; info.DeviceConfigValue = ""; info.ItemExplain = new string[1]; info.ItemValue = new string[1]; info.ItemExplain[0] = "数据类型:"; info.ItemValue[0] = "V|CommState"; return info; } 代码模板会自动生成如上代码。 这是一个虚拟串口设备的模板,可以根据实际传感器的特点和接口进行相关参数配置。 2.4 Hello world 我们在OnRun函数里,添加如下代码: public int OnRun(Device dv, IOperate op, object arg) { if (dv.DebugMode != 0) op.Print(MessageType.SysDebug, "OnRun", this.Name); op.Print(MessageType.Information, "Hello World!!!", this.Name); return 0; } 2.5 驱动测试 2.5.1 驱动编译加载 编译上述代码,把YFIOsDriver1\bin\Debug\le目录下的YFIOsDriver1.dll和YFIOsDriver1.pe文件拷贝到C:\Program Files (x86)\YFIOs\YFIOsManager\Driver目录。 然后运行YFIOsManager.exe软件。 在驱动列表中,可以看到刚编写的驱动信息(如上图所示)。 2.5.2 添加用户设备 单击树形控件 中的【用户设备】项,双击列表控件中的【新建…】选项,则弹出用户设备窗体。 我们选择串口驱动下的VirtualDevice驱动,也就是我们刚编写的那个驱动。 我们命名为“HelloDevice”,串口号我们选择COM3,然后保存。 2.5.3 配置项目属性 单击树形控件中的【项目属性】选项,双击列表控件中配置数据,则弹出如下界面,默认情况下,用户调试、普通信息、系统调试信息选项是没有勾选的。 我们勾选所有的选项。 2.5.4 项目部署调试 保存项目后,单击【调试】->【部署】菜单(或单击部署图标)进行项目部署。 2.5.5 项目运行 单击【调试】->【启动】菜单(或单击启动图标)让项目开始运行。 从信息输出窗口中,可以看到,驱动已经正确加载,也输出了 Hello World!!! 3 驱动调试 虽然编写的驱动可以在YFIOsManager通过信息输出的方式进行调试,但是如果驱动比较复杂,这种调试方法还是不太理想。 因此我们构建一个TinyIOsEmulator,在Visual Studio 2010环境里进行驱动调试。 由于YFSoft.DriverTest是一个标准的.NET Micro Framework程序,所以调试的时候,需要把系统设置为.NET Micro Framework系统模式。 确保PF9和GND连接。 3.1 构建TinyIOsEmulator TinyIOsEmulator项目里需要引用我们刚刚创建的驱动。 测试的主要代码如下: public class YFIOsEmulator { YFIOS ios = new YFIOS(); Device device = new Device(); public void Run() { IDriver md = TestVirtualDevice(); md.OnLoad(device, ios.operate, null); while (true) { md.OnRun(device, ios.operate, null); Thread.Sleep(3000); } } public IDriver TestVirtualDevice() { device.PortAddr = 1; device.PortConfig = "9600,n,8,1"; device.DebugMode = 0; device.DeviceAddr = 0; device.DeviceConfig = ""; device.IOItems = new ArrayList(); OpenPort(device, ios.operate); return new YFIOsDriver1(); } } 3.2 单步调试 从上图可以看出,在Visual Studio开发环境里,我们已经可以进行调试了,并且调试窗口也输出了Hello world!!!信息。 4额外说明 本篇文章仅仅是一篇驱动开发入门的文章,要编写一个比较复杂的驱动,还需要深入学习各种开发知识。 高阶驱动开发相关的内容如下: (1) 驱动设备变量设计; (2) 驱动设备读写; (3) 驱动扩展配置面板开发; (4) 驱动代码引用第三库; (5) 驱动YFIOBC操作; (6) 策略直接调用驱动; 5相关资源 1、.NET Micro Framework 官方网址 http://www.microsoft.com/netmf/default.mspx 2、.NET Micro Framework官方博客 http://blogs.msdn.com/netmfteam/ 3、中文博客 http://blog.csdn.net/yefanqiu http://www.cnblogs.com/yefanqiu 4、叶帆科技 http://www.sky-walker.com.cn/ 5、物联网中间件技术开发论坛 http://www.yfios.net YFIOs/YFHMI免费试用 从2012-12-21起YFIOs和YFHMI将开展为期半年的免费试用活动,符合申请条件的用户,将依次获取YFIOs和YFHMI的试用机会。 申请表下载:http://sky-walker.com.cn/MFRelease/document/yfios_yfhmi_application.doc 本文转自yefanqiu51CTO博客,原文链接:http://blog.51cto.com/yfsoft/1108713,如需转载请自行联系原作者

优秀的个人博客,低调大师

【物联网中间件平台-05】YFIOs策略开发指南

1 YFIOs简介 YFIOs就是YFSoft I/O Server的简称,在物联网、云计算时代,一切以数据为中心,不同的传感器通过不同的方式接入网络,通过云计算的方式为不同的终端用户提供服务。 为了适应这种新形势的发展,加速和降低各种传感器、智能模块的入网代价,以微软成熟的.NET Micro Framework系统为基础,打造出物联网时代的轻量级嵌入式组态系统 ——YFIOs。 详情请参见《YFIOs技术白皮书》。 2 策略开发 2.1 YFIOs SDK安装 请参见文档《YFIOs安装指南》。 2.2新建策略项目 选择YFIOs Strategy模板进行策略开发。 2.3代码模板 public StrategyInfo GetStrategyInfo() { StrategyInfo info = new StrategyInfo(); info.Name = Name; info.ConfigSize = 0; return info; } 代码模板会自动生成如上代码。 2.4 Hello world 我们在OnRun函数里,添加如下代码: public int OnRun(IOperate op, StrategyMode mode,object arg) { op.Print(MessageType.Debug, "OnRun", Name); op.Print(MessageType.Information, "Hello World!!!", this.Name); return 0; } 2.5 策略测试 2.5.1 编译添加策略 编译我们刚刚编写的策略代码。然后启动YFIOs Manager程序,单击树形控件 中的【策略列表】项,双击列表控件中的【新建…】选项,则弹出用户策略窗体。 我们选择策略Debug\le\ YFIOsStrategy1.pe文件。 进入【执行模式】面板,我们选择执行模式为Loop,设置循环周期为200ms。 2.5.2 配置项目属性 单击树形控件中的【项目属性】选项,双击列表控件中配置数据,则弹出如下界面,默认情况下,用户调试、普通信息、系统调试信息选项是没有勾选的。 我们勾选所有的选项。 2.5.4 项目部署调试 保存项目后,单击【调试】->【部署】菜单(或单击部署图标)进行项目部署。 2.5.5 项目运行 单击【调试】->【启动】菜单(或单击启动图标)让项目开始运行。 从信息输出窗口中,可以看到,策略已经正确加载,也输出了 Hello World!!! 3 策略调试 虽然编写的策略可以在YFIOsManager通过信息输出的方式进行调试,但是如果策略比较复杂,这种调试方法还是不太理想。 因此我们构建一个TinyIOsEmulator,在Visual Studio 2010环境里进行策略调试。 由于YFSoft.DriverTest是一个标准的.NET Micro Framework程序,所以调试的时候,需要把系统设置为.NET Micro Framework系统模式。 确保PF9和GND连接。 3.1 构建TinyIOsEmulator TinyIOsEmulator项目里需要引用我们刚刚创建的策略。 测试的主要代码如下: public class YFIOsEmulator { YFIOS ios = new YFIOS(); public void Run() { YFIOsStrategy1 mvs = new YFIOsStrategy1(); mvs.OnLoad(ios.operate, null); while (true) { mvs.OnRun(ios.operate, new StrategyMode(), null); Thread.Sleep(3000); } } } 3.2 单步调试 从下图可以看出,在Visual Studio开发环境里,我们已经可以进行调试了,并且调试窗口也输出了Hello world!!!信息。 4额外说明 本篇文章仅仅是一篇策略开发入门的文章,要编写一个比较复杂的策略,还需要深入学习各种开发知识。 高阶策略开发相关的内容如下: (1) 策略运行模式设定; (2) 策略图形开发; (3) 策略互相调用; (4) 策略代码引用第三库; (5) 策略YFIOBC操作; (6) 策略直接调用驱动; 5相关资源 1、.NET Micro Framework 官方网址 http://www.microsoft.com/netmf/default.mspx 2、.NET Micro Framework官方博客 http://blogs.msdn.com/netmfteam/ 3、中文博客 http://blog.csdn.net/yefanqiu http://www.cnblogs.com/yefanqiu 4、叶帆科技 http://www.sky-walker.com.cn/ 5、物联网中间件技术开发论坛 http://www.yfios.net YFIOs/YFHMI免费试用 从2012-12-21起YFIOs和YFHMI将开展为期半年的免费试用活动,符合申请条件的用户,将依次获取YFIOs和YFHMI的试用机会。 申请表下载:http://sky-walker.com.cn/MFRelease/document/yfios_yfhmi_application.doc 本文转自yefanqiu51CTO博客,原文链接:http://blog.51cto.com/yfsoft/1108715,如需转载请自行联系原作者

优秀的个人博客,低调大师

使用Mkfifo和Script命令实现在Linux平台上实时演示

最近,一朋友找我帮忙处理他云主机上的问题,又想看到我的处理过程,当时我的想法是要么远程协助,但是这个需要一定的带宽,怎奈我网络环境不是很好;另一个就是我在我的电脑上录制一个视频或者把操作步骤写出来,这显然成本还是挺大的。我就在想,我们上学那会,老师在他的电脑上演示的操作,我们在下面的电脑就可以看到,Linux上是否有这样的命令(工具)实现呢? 后来找到了一个使用mkfifo和scripts命令结合起来就可以实现我的想法。 操作步骤如下: 首先打开两个终端,假设pts/0(我的登录的终端)和pts/1(朋友登录的终端) (1)、在pts/0(我登录的终端)输入以下命令: 1 $ mkfifo scriptdemo (2)、在pts/1(朋友登录的终端)输入以下命令: 1 $ cat scriptdemo (3)、在pts/0(我登录的终端)输入以下命令: 1 $script-fscriptdemo 当输入script -f scriptdemo并回车后,在pts/0(我登录的终端)会提示“Script started, file is scriptdemo”,在pts/1(朋友登录的终端)会提示:“Script started on Sat 19 Mar 2016 10:16:24 AM EDT”。 此时,在pts/0(我登录的终端)输入的所有命令都会在在pts/1(朋友登录的终端)上同步显示。现在pts/0(我登录的终端)就相当于服务端,pts/1(朋友登录的终端)就相当于客户端。 如果还想接入多个,在打开一个终端输入命令: $ cat scriptdemo 这样就可以实现多个终端实时演示了。 如果,演示完成了,在现在pts/0(我登录的终端)输入exit并按回车键就可以退出,此时,在pts/0上会提示:“Script done, file is scriptdemo”,在pts/1上回提示:“Scriptdone on Sat 19 Mar 2016 10:28:23 AM EDT” 其实,这里主要使用了三个命令,mkfifo、script和cat . 本文转自 巴利奇 51CTO博客,原文链接:http://blog.51cto.com/balich/1752977

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册
修改密码
忘记密码