402 Commits df2f63efe4 ... a771451aae

Author SHA1 Message Date
  guozhaoshun a771451aae fix 6 years ago
  guozhaoshun f5249ac355 add zxing pom 6 years ago
  guozhaoshun 1a491722cc fix 6 years ago
  guozhaoshun e9b87ff922 fix 6 years ago
  guozhaoshun 2da188ad61 log 6 years ago
  guozhaoshun 309977d6d9 Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  guozhaoshun e77b72262c 增加扫码回调接口 6 years ago
  guozhaoshun 85a47628ba test 6 years ago
  guozhaoshun d1f966a50d fix 6 years ago
  guozhaoshun 2c67d7b720 fix 6 years ago
  guozhaoshun 2d3ab8ee88 扫码接口 6 years ago
  guozhaoshun bd8a33a4f2 add qrcode 6 years ago
  guozhaoshun 05a3916048 fix 6 years ago
  zhouxianguang e45857018f 优化导出功能 6 years ago
  zhouxianguang 1e0c240180 优化excel导出 6 years ago
  zhouxianguang 71cca48729 优化导出功能 6 years ago
  zhouxianguang 3cc5b9ba86 修改导出excel格式 6 years ago
  zhouxianguang 23a79093d6 修改excel字段位置 6 years ago
  zhouxianguang 4491b02b78 修改统计终端用户总数 6 years ago
  zhouxianguang 21d7b9a43c 优化接口 6 years ago
  zhouxianguang aed041c1f4 添加parseDateStr方法 6 years ago
  zhouxianguang 34e7ff6796 导出功能调整 6 years ago
  zhouxianguang 750e521b93 导出内容调整 6 years ago
  zhouxianguang e96996f3c6 导出内容调整 6 years ago
  zhouxianguang e1f1eb5266 导出内容调整 6 years ago
  zhouxianguang 1bf0d54c9c 导出内容调整 6 years ago
  zhouxianguang aecf572fb7 支持查询导出excel 6 years ago
  zhouxianguang 74e319ba4f 修改导出功能 6 years ago
  zhouxianguang 0b989f819f 优化代码 6 years ago
  zhouxianguang d1a057fcf8 提交总统计表 6 years ago
  zhouxianguang 0a906a8911 设置fastExpired 6 years ago
  zhouxianguang 7f27b6168a 添加fastExpired 6 years ago
  zhouxianguang 9011b99861 调试打印日志 6 years ago
  zhouxianguang 3ba35cd0bf 开始时间、结束时间等时间搓转换日期格式 6 years ago
  zhouxianguang dd645ab1a3 添加开始时间、结束时间字段 6 years ago
  zhouxianguang 61c05d54fe 添加fastExpired,用来标记终端号是否过期 6 years ago
  zhouxianguang ca1ce57d77 补充校区信息 6 years ago
  zhouxianguang c3dc89e6f3 添加campusId赋值 6 years ago
  zhouxianguang 0332bb8740 submit code 6 years ago
  zhouxianguang 52b97b4f4d 已开通账户报表导出 6 years ago
  zhouxianguang 597dd80a8e 添加校区编号、校区名称、校区联系方式 6 years ago
  zhouxianguang 192b2d64f4 修改用户设备信息 6 years ago
  zhouxianguang 7a104a48b9 修改用户设备信息 6 years ago
  zhouxianguang 47d80fffc4 修改用户设备信息 6 years ago
  zhouxianguang d43c66cb17 终端用户报表 6 years ago
  zhouxianguang dadc6582e6 优化导出excel格式 6 years ago
  zhouxianguang d9cd50ea85 excel导出 6 years ago
  zhouxianguang 80239d3972 添加excel导出 6 years ago
  zhouxianguang 5061d5c486 添加excel导出功能 6 years ago
  zhouxianguang af108e3e2f submit code 6 years ago
  zhouxianguang c7f386fda7 补充省份字段 6 years ago
  zhouxianguang 57da462c9d 添加省份字段 6 years ago
  zhouxianguang 2331fb00eb Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  zhouxianguang 6f79d3bf50 添加已开通校区报表接口 6 years ago
  zhouxianguang 0c5b4d6c2d 添加已开通校区报表接口 6 years ago
  zhouxianguang edd9bff632 修改用户设备信息 6 years ago
  zhouxianguang 5ee11d4259 修改用户设备信息 6 years ago
  zhouxianguang d2175fe6b2 修改获取用户登录设备信息 6 years ago
  zhouxianguang 5bd719c607 Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  zhouxianguang ae2088719f 刷新token绑定设备信息 6 years ago
  zhouxianguang eaeaec3258 添加排序功能 6 years ago
  zhouxianguang 7330812d52 Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  zhouxianguang 17d6ae0247 去掉获取mac代码 6 years ago
  zhouxianguang f737c69532 修改用户设备信息 6 years ago
  zhouxianguang 31f64a8a4f 修改用户设备信息 6 years ago
  zhouxianguang 203add6b80 修改用户设备信息 6 years ago
  zhouxianguang 712e3ed64b 修改用户设备信息 6 years ago
  zhouxianguang e28b8fcba6 修改用户设备信息 6 years ago
  zhouxianguang fd0f44df46 Merge remote-tracking branch 'origin/master' 6 years ago
  zhouxianguang 420515f38b 添加mac地址 6 years ago
  zhouxianguang dfe191235b 修改用户设备信息 6 years ago
  zhouxianguang 600bfdecd8 修改用户设备信息 6 years ago
  zhouxianguang 9374cb11d6 修改用户设备信息 6 years ago
  zhouxianguang 64e63733ae 修改用户设备信息 6 years ago
  zhouxianguang 7d276b09a6 修改用户设备信息 6 years ago
  zhouxianguang 1fe860f183 修改用户设备信息 6 years ago
  zhouxianguang 5ae26a397c Merge remote-tracking branch 'origin/master' 6 years ago
  zhouxianguang 967f900ace 修改用户设备信息 6 years ago
  zhouxianguang 68445201e2 修改用户设备信息 6 years ago
  zhouxianguang 6edc5305a5 修改用户设备信息 6 years ago
  zhouxianguang 087ca0c409 修改用户设备信息 6 years ago
  guozhaoshun 43068fe554 修改下载相关接口 6 years ago
  guozhaoshun 36769ca6f0 修改下载相关接口 6 years ago
  guozhaoshun 31816f4688 Merge remote-tracking branch 'origin/master' 6 years ago
  guozhaoshun 38d5be19b2 修改下载相关接口 6 years ago
  zhouxianguang e83f1e6c2d Merge remote-tracking branch 'origin/master' 6 years ago
  zhouxianguang 69310eb086 修改用户设备信息 6 years ago
  zhouxianguang bff01f767b submit code 6 years ago
  zhouxianguang 9526ac2a60 Merge remote-tracking branch 'origin/master' 6 years ago
  zhouxianguang 963f8dae84 submit code 6 years ago
  zhouxianguang 62f5567f29 add header user agent 6 years ago
  guozhaoshun 14c9b15c00 lesson add downloadStatus 6 years ago
  guozhaoshun 174095ff6e 修改下载相关接口 6 years ago
  guozhaoshun 49ed340d1b 修改下载相关接口 6 years ago
  guozhaoshun 6145922098 lesson add downloadStatus 6 years ago
  guozhaoshun f87419534d add mac 6 years ago
  guozhaoshun f7fe0a5842 修改下载相关接口 6 years ago
  guozhaoshun 68dabaf6c2 修改下载相关接口 6 years ago
  guozhaoshun a5241ad27e 修改下载相关接口 6 years ago
  guozhaoshun e97597233d 修改下载相关接口 6 years ago
  guozhaoshun 29a4107c94 add downloadStatus 6 years ago
  guozhaoshun c5400a7aad recover file 6 years ago
  guozhaoshun fefc190773 定义 下载状态 6 years ago
  guozhaoshun 9e95928d59 下载信息增加字段,课程返回下载状态 6 years ago
  guozhaoshun 560db20d23 fix bug 6 years ago
  guozhaoshun d384538f05 recover file 6 years ago
  guozhaoshun 94821f656b log 6 years ago
  guozhaoshun 56103c9aad log 6 years ago
  guozhaoshun a2b35c8285 设备信息 6 years ago
  guozhaoshun 307cdeebad 新增下载信息相关接口 6 years ago
  guozhaoshun 2bac5e7c74 收藏夹支持用户标签 6 years ago
  guozhaoshun ebc092b6bc fix bug 6 years ago
  guozhaoshun 73d7d4d1a1 fix bug 6 years ago
  guozhaoshun 8362a8b506 解决课程修改关联课操作后,TV前端不能正常展示bug 6 years ago
  guozhaoshun 36362b1411 解决课程修改关联课操作后,TV前端不能正常展示bug 6 years ago
  guozhaoshun 9ea777c9ad recover file 6 years ago
  guozhaoshun e3ec7e2ecd 创建标签 去除标签组 6 years ago
  guozhaoshun 59240036b4 API优化 标签逻辑 6 years ago
  guozhaoshun 0c9f0f3d6d API优化 标签逻辑 6 years ago
  guozhaoshun 986a184e5c 用户标签,没有数据直接返回空集合 6 years ago
  guozhaoshun e0a0edc1da 修复创建用户标签无法直接绑定产品 6 years ago
  guozhaoshun 2ef6ad74ac cms用户资源权限支持指定时长 6 years ago
  guozhaoshun d094d71d27 AuthDTO 支持指定时长,增加字段 {id,startTime,endTime} 6 years ago
  guozhaoshun 554da3762f fix /token PUT 6 years ago
  guozhaoshun 5c06255df2 fix /token PUT 6 years ago
  guozhaoshun c153078234 add log 6 years ago
  guozhaoshun 5ee6353606 add log 6 years ago
  guozhaoshun dafb1e4013 fix page info 6 years ago
  guozhaoshun dfef0dee43 terminalUserAuthVo | add terminalUser name 6 years ago
  guozhaoshun 4a3ba4d736 recover file 6 years ago
  guozhaoshun 16d57100e9 recover file 6 years ago
  guozhaoshun 2d9c8cdf01 recover file 6 years ago
  guozhaoshun de9fd93e84 cms support show terminalUser | auth info 6 years ago
  guozhaoshun 191f3e890e cms support show terminalUser auth info 6 years ago
  guozhaoshun 34d1b55563 Product add getProductList method 6 years ago
  guozhaoshun eb53b3f84a AuthQueryDTO add pageNo pageSize 6 years ago
  guozhaoshun 459a2e93c2 fix video resource update 6 years ago
  guozhaoshun 57418cbd98 fix terminalUser change passwd 6 years ago
  guozhaoshun 4ded2469bb fix terminalUser change passwd 6 years ago
  guozhaoshun 1a0aa5aa28 Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  guozhaoshun c6f6585d42 fix login by token 6 years ago
  guozhaoshun b3f895ed91 fix 6 years ago
  guozhaoshun f0cad80e7e fix 6 years ago
  guozhaoshun f271fb26f7 fix getClientIp 6 years ago
  guozhaoshun 3429c5cf68 fix 6 years ago
  guozhaoshun 85f4e647dc change merchant from body to header 6 years ago
  guozhaoshun a5aae338a2 data api entity add merchant 6 years ago
  guozhaoshun a5483beb57 api login/authentication add merchant 6 years ago
  guozhaoshun 49d03ed008 optimize userTag copy 6 years ago
  guozhaoshun 0dadbb2e36 fix recommend num 6 years ago
  guozhaoshun 664b5a5ccc recover file 6 years ago
  guozhaoshun 03a368021a angelBell HN provinceCode = 90 6 years ago
  guozhaoshun ea9b83742d angelBell HN provinceCode = 90 6 years ago
  guozhaoshun 9efc79ba32 angelBell HN provinceCode = 90 6 years ago
  guozhaoshun 714dc6003e ProvinceUtil get 43 -> 90 6 years ago
  guozhaoshun 6a73cabad1 fix video update 6 years ago
  guozhaoshun 3256f1321c ProvinceUtil get HN 43|90 6 years ago
  guozhaoshun 250b07a14b update ProvinceUtil change provinceCode HN = "90" 6 years ago
  guozhaoshun 1c4c12f106 fix 6 years ago
  guozhaoshun 925d3e0715 fix resource/list find by type 6 years ago
  guozhaoshun a3c1fea9d7 API support audioImg resource 6 years ago
  xuchaolang ce6c7b8208 Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  xuchaolang 4e69f04b87 Merge branch 'release/1.0.0' 6 years ago
  guozhaoshun 0eea46bf57 courseware support audioImg resource 6 years ago
  guozhaoshun 81538f7bf4 courseware support audioImg resource 6 years ago
  guozhaoshun 21518e8d80 fix url AudioImg 6 years ago
  guozhaoshun bdc6143ab5 Merge branch 'dev20180611' 6 years ago
  guozhaoshun 78120e41c4 support AudioImg 6 years ago
  guozhaoshun af8fd89f3b UserTag support copy from tag 6 years ago
  guozhaoshun 2e09eec0bf support AudioImg 6 years ago
  guozhaoshun c18b9479e5 CMS add AudioImg module 6 years ago
  guozhaoshun 4ffe74f10f support AudioImg 6 years ago
  guozhaoshun 2bce02f682 fix change video resource url | https:// 6 years ago
  guozhaoshun 1e5447c99c fix change video resource url | https:// 6 years ago
  guozhaoshun 8c6c5e2f6f fix 6 years ago
  guozhaoshun 84fcec2c52 fix 6 years ago
  guozhaoshun addf733cef optimize change video resource url | https:// 6 years ago
  guozhaoshun e25a1087b2 API support UserTag UserRecommend module 6 years ago
  guozhaoshun c1cafa0dde CMS support UserTag UserRecommend module 6 years ago
  guozhaoshun b7f7ae4fbd CMS support UserTag UserRecommend module 6 years ago
  guozhaoshun 68e668299a change ItemController package 6 years ago
  guozhaoshun 179ebf9818 support UserTag UserRecommend module 6 years ago
  guozhaoshun 53870c5081 add UserTag UserRecommend module 6 years ago
  guozhaoshun 9a91434191 add UserTag module 6 years ago
  guozhaoshun 3f669d5d8d add UserRecommend module 6 years ago
  guozhaoshun f342259060 UserTag UserRecommend UserTagProductRelation 6 years ago
  guozhaoshun bcf2a31407 img resource replace the blank space 6 years ago
  guozhaoshun f222501fd2 optimize poster 6 years ago
  guozhaoshun 13173f2b4d optimize poster 6 years ago
  guozhaoshun e9a0dde366 optimize 6 years ago
  guozhaoshun bac3f345a1 video list sort by createTime DESC 6 years ago
  guozhaoshun 7553ae7a1e video list sort by updateTime DESC 6 years ago
  guozhaoshun 394cf45ea7 video list sort by createTime DESC 6 years ago
  guozhaoshun 4e742c737a restore file 6 years ago
  guozhaoshun 1549a46a4d fix tag support update typeCode,merchant; 6 years ago
  guozhaoshun 33b5c15d60 change video resource url | https:// 6 years ago
  guozhaoshun 506effdb57 change video resource url | https:// 6 years ago
  guozhaoshun 9e8234ef28 terminalUser add deviceStatus 6 years ago
  guozhaoshun 816b823469 change video resource url | https:// 6 years ago
  guozhaoshun 6272cefc73 fix optimize the recommended course 6 years ago
  guozhaoshun b9de4f6722 optimize the recommended course 6 years ago
  guozhaoshun 3ffe8c3f5e fix updateResource 6 years ago
  guozhaoshun f3fb2065fc fix updateResource 6 years ago
  guozhaoshun a387a6d808 fix updateResource 6 years ago
  guozhaoshun f477dadf3d fix updateResource 6 years ago
  guozhaoshun 9311a32594 fix updateResource 6 years ago
  guozhaoshun f9b5490ab0 fix updateResource 6 years ago
  guozhaoshun 9d1b06ca5e fix poster 6 years ago
  guozhaoshun b1444f5476 fix poster 6 years ago
  guozhaoshun 6bdbf70ab7 fix picture list sort by gmtModified DESC 6 years ago
  guozhaoshun f7dd51ab62 from the update resource document; 1 video | 0 audio 6 years ago
  xuchaolang 9933ecdbfe Merge branch 'fix_bug.0525' 6 years ago
  xuchaolang 28d6e829ce Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  xuchaolang 56ef2ae8da Fix bug, check idList if empty while find in repo 6 years ago
  guozhaoshun 1a88c54723 fix tag support update typeCode,merchant; 6 years ago
  guozhaoshun 7d2928ebf6 fix poster 6 years ago
  guozhaoshun c8a3defbf6 fix poster 6 years ago
  guozhaoshun fef1be4ad4 fix saveRemoteResource 6 years ago
  guozhaoshun 2232e69783 fix poster 6 years ago
  guozhaoshun d64df3cd1d fix poster 6 years ago
  guozhaoshun c6323af106 Merge branch 'dev001' 6 years ago
  xuchaolang 33f4ed14cc cms-web-api, /resource PUT, id pass in body 6 years ago
  xuchaolang 42d7a7fde9 web-api, /package/<pid>, return goods 6 years ago
  xuchaolang 80337f7aee Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  xuchaolang e0359d50e8 Accomplish /user/messages/productExpiredAlert, /package/<pid> 6 years ago
  xuchaolang 4f2db3edf5 Merge branch 'master' of http://gogs.efunbox.cn:3000/Rankin/rankin 6 years ago
  xuchaolang a6153d0f3e ProductService.getRelatedPackages, filter offline pkgs by status 6 years ago
  xuchaolang 5b06485ee2 return code in /product/<pid>/relatedPkg, move shopQR into Goods 6 years ago
  xuchaolang a6a6614946 ProductService.getRelatedPkgs, set goods 6 years ago
  xuchaolang 4c631931cd ProductService.getRelatedPackges, check pkgId but not productId while scaning relatedPkgs 6 years ago
  xuchaolang 6991a10393 ProductService, move ProductController from controller.cms package to controller package 6 years ago
  xuchaolang c6b6a14078 Accomplish Api /product/<pid>/relatedPkg 6 years ago
  xuchaolang e06c345575 Add /merchant prefix to Api /merchant/<merchantId>/posters 6 years ago
  xuchaolang cdc99ef674 service /user/<uid>/product/valid Resturn [] while user have no valid products 6 years ago
  xuchaolang 9e62064f53 Print product Log while get valid product from service 6 years ago
  xuchaolang 9ca21fe5ad Print User 6 years ago
  xuchaolang 6d90ff45c9 Temporarily add /user/product/valid in product service 6 years ago
  xuchaolang 027257e268 Merge branch 'dev.3.0' 6 years ago
  guozhaoshun 279f88c027 change TagTypeController /controller/app to /controller/ 7 years ago
  guozhaoshun f3ca8a50f5 add support video upload 7 years ago
  guozhaoshun d8011a4be3 tag create/update support tagType 7 years ago
  guozhaoshun 2f51c018ab tagType 7 years ago
  guozhaoshun 3d0665565c Tag create/update support typeCode 7 years ago
  guozhaoshun 671925bb7c merchant product name change source 7 years ago
  guozhaoshun 4f4b2067cd add /tagType/{code} 7 years ago
  guozhaoshun 150ce1a65d add 7 years ago
  guozhaoshun ebb60529f4 add 7 years ago
  xuchaolang fdcb5a30ea Fix getTagType request mapping value 7 years ago
  xuchaolang bb4f968336 restore pom.xml 7 years ago
  xuchaolang c3df828bef check if sign is empty while get it from header 7 years ago
  xuchaolang 00103a8f10 use Authentication while sign not Exist, For compatition with 2.x app verions 7 years ago
  guozhaoshun e35f33f816 recover yml 7 years ago
  guozhaoshun 967949bded test commit 7 years ago
  guozhaoshun eec791684a Merge remote-tracking branch 'origin/master' into dev 7 years ago
  guozhaoshun 75b5a94017 repair bug 7 years ago
  xuchaolang e554490545 skip shelf in relatedSupport 7 years ago
  xuchaolang 0ee63c8bde set dateDesc,openTime,closeTime 7 years ago
  xuchaolang 1cf7041a5d fix /training/{id} request map bug 7 years ago
  xuchaolang a5feaf286d change service api /app/training/{id} to /training/{id} 7 years ago
  xuchaolang d55840f63b TrainingController add log 7 years ago
  xuchaolang 150e531e17 check productid is null in findByIds 7 years ago
  xuchaolang c01366a887 fix training update 7 years ago
  xuchaolang 926e20469b return Training type in ProductService 7 years ago
  xuchaolang c35e78559c training.get only return training entity 7 years ago
  xuchaolang ba6772a241 add traing cms api 7 years ago
  xuchaolang 2a2b0f02ff add traing cms api 7 years ago
  xuchaolang 0839854e30 加入/training/<id>接口 7 years ago
  xuchaolang 1c593901be add course title to course/lesson 7 years ago
  huodongdong 8fb41e9d7e fix 7 years ago
  huodongdong 33dfe9086d fix white user search 7 years ago
  huodongdong 12ee9bd962 fix white user search request body 7 years ago
  huodongdong 46bb611eac fix 7 years ago
  huodongdong a7c33c52fe fix feign pathvariable error 7 years ago
  huodongdong 7450e47d4f fix 7 years ago
  huodongdong c9ecf201a9 add merchantId of white user 7 years ago
  huodongdong 8bb7d1122a add merchant name of white user 7 years ago
  huodongdong 50a2dd42d0 add api binder cms white user 7 years ago
  huodongdong ac39c034af add white user model 7 years ago
  huodongdong 2798495bf0 add white user table 7 years ago
  huodongdong e03a581e5a fix 7 years ago
  huodongdong de4cb52101 cms log level 7 years ago
  huodongdong 445c3c5ae5 cms delete redis app login data 7 years ago
  huodongdong 83fe73e0b3 add cms unbind device 7 years ago
  huodongdong db8ea62107 fix tag product sort bug 7 years ago
  huodongdong aeee85f461 add timeout session 7 years ago
  huodongdong 973392ebf0 fix 7 years ago
  huodongdong 6757e24f70 remove session 7 years ago
  huodongdong 938ebbaf0c fix lesson search 7 years ago
  huodongdong f37e9b6eb4 fix lesson empty exception 7 years ago
  huodongdong c635cbc670 add log 7 years ago
  huodongdong 9edd40418a fix 7 years ago
  huodongdong 9637fee49d fix group code 7 years ago
  huodongdong 27c762f9a1 add field of merchant simple 7 years ago
  huodongdong 473394bd12 fix 7 years ago
  huodongdong 9e1fe10b8f fix video url error 7 years ago
  huodongdong 190f0e601b fix bing terminal field null and log error 7 years ago
  huodongdong c27e8c256a add web login force 7 years ago
  huodongdong 73c7c88a25 fix terminal name 7 years ago
  huodongdong 19d3c3e4f7 modifiy terminal name to campusName + terminalName 7 years ago
  huodongdong fb221ea346 fix campus name remove - 7 years ago
  huodongdong c561799f73 fix 7 years ago
  huodongdong e9f308a413 fix 7 years ago
  huodongdong 5bc08795d5 fix 7 years ago
  huodongdong 69fe592df2 fix 7 years ago
  huodongdong 74f882a885 完成pushmsg push 7 years ago
  huodongdong 9585210305 complete app api 7 years ago
  huodongdong ed9f6583d9 fix device_code null 7 years ago
  huodongdong 8b7fc151e6 refresh token not signature 7 years ago
  huodongdong 53d28c7191 fix api recommend 7 years ago
  huodongdong 1c36c05943 fix recommend 7 years ago
  huodongdong 9bca91cc2a add refresh token 7 years ago
  huodongdong 05927ed824 remove test intercepter, same the terminal user id 7 years ago
  huodongdong b96f1f4298 fix 7 years ago
  huodongdong 5913d3072d valid login 7 years ago
  huodongdong 9c3aaf41f5 fix 7 years ago
  huodongdong b300458a22 fix 7 years ago
  huodongdong 5a764d1100 fix 7 years ago
  huodongdong c817e33b16 add status terminal user filter search 7 years ago
  huodongdong 4c5881db37 add product merchantId when search 7 years ago
  huodongdong ca84c38189 add tag sort 7 years ago
  huodongdong f813b6b318 deploy 7 years ago
  huodongdong cfbbf4c3c8 fix header and option request bug 7 years ago
  huodongdong 61522ff50e fix 7 years ago
  huodongdong 1f54a29d64 fix receive 7 years ago
  huodongdong 0a7d232e36 web api stash and fix charge 7 years ago
  huodongdong 8dfc0d3ea3 fix 7 years ago
  huodongdong b1908c474c add code and name order goods 7 years ago
  huodongdong 4f2560e16a order detail api 7 years ago
  huodongdong 1cd5f51282 fix transactional 7 years ago
  huodongdong 74b94275b4 add charge 7 years ago
  huodongdong a71b1653d0 add charge api 7 years ago
  huodongdong 9f8ce28658 fix MySQL5DialectUTF8 7 years ago
  huodongdong 29fbd94fa5 fix create table utf8 7 years ago
  huodongdong 23569b09dd fix 7 years ago
  huodongdong 2e49f4d8bd fix 7 years ago
  huodongdong 42bb7557bd modified yml config 7 years ago
  huodongdong 54ebcd3e0c fix 7 years ago
  huodongdong 43b3b23379 add merchantPrice of pakcageProductVo 7 years ago
  huodongdong af3de4ab65 add merchant price of product in package 7 years ago
  huodongdong c73ae0883f add category of courseware 7 years ago
  huodongdong e3bc647fdb fix 7 years ago
  huodongdong 504b10c476 config test 7 years ago
  huodongdong 4ddca8254e profile act 7 years ago
  huodongdong cc65c80444 test 7 years ago
  huodongdong 7ed2337ea0 add sub title 7 years ago
  huodongdong c36277375e modified cancel order api 7 years ago
  huodongdong 08bd31ccdf order search to post feign 7 years ago
  huodongdong c2cabfc0ac add goods type auto 7 years ago
  huodongdong 6b8d5122d3 same order status and order detail status 7 years ago
  huodongdong 75c5cd1338 fix 7 years ago
  huodongdong 4ef6d6bb47 add terminal user address 7 years ago
  huodongdong aa34b15a14 add merchant product list package info 7 years ago
  huodongdong 049d6eb4c8 add oderdetail and snapshot search api 7 years ago
  huodongdong d6aef08774 fix log 7 years ago
  huodongdong 30ccda2563 complete task 7 years ago
  huodongdong 4a50d6038c size 7 years ago
  huodongdong db4847d06a fix name 7 years ago
  huodongdong aa15ceede3 fix 7 years ago
  huodongdong b28be55f44 add status of goods package when put on sale 7 years ago
  huodongdong d20807fba1 fix 7 years ago
  huodongdong 072ea17be3 add sort when put on sale product 7 years ago
  huodongdong 21aa6d4df2 add cms merchantProduct 7 years ago
  huodongdong 466c98dfe4 add package update and on sale goods relation add and update 7 years ago
  huodongdong fc7f9598dd fix lesson api cms 7 years ago
  huodongdong bd88622c1f fix 7 years ago
  huodongdong 503a8f4481 fix lesson warelist 7 years ago
  huodongdong 3c50ba20cd add tag and group info 7 years ago
  huodongdong ea7d4da2c7 no 7 years ago
  huodongdong 72c1434dc3 @Modifying remove clearAutomatically=true 7 years ago
  huodongdong 72ae842ea9 add status product create 7 years ago
  huodongdong f99e29af74 fix 7 years ago
  huodongdong 47afdb4c32 product search string format error 7 years ago
  huodongdong 6b421cec99 fix support 7 years ago
  huodongdong 446296f16f fix ware data structure 7 years ago
  huodongdong 187f7f622b 订单分拆初版 7 years ago
  huodongdong ac7e27719b modified table name and createtime 7 years ago
  huodongdong 97e636322c api web test remove token check 7 years ago
  huodongdong 012209cc64 fix resource name 7 years ago
  huodongdong 723cceb4bb fix 7 years ago
  huodongdong 3214cf4a72 fix pom config 7 years ago
  huodongdong 76798122fa fix pom config 7 years ago
  huodongdong 7f082bf582 fix pom build config 7 years ago
  huodongdong 120f9de598 tmp 7 years ago
  huodongdong 1fe47abcc0 complete pay ok 7 years ago
  huodongdong 2bd43244b7 save 7 years ago
  huodongdong 857b5bb181 add package 7 years ago
  huodongdong 3b6e896596 complete product and goods recoding 7 years ago
  huodongdong 225693bfc7 product idea period 1 7 years ago
  huodongdong f15b6dbe00 stash 7 years ago
  huodongdong bbb144a1c9 campus and termianl user complete 7 years ago
  huodongdong 2ddd9d23e8 add cms web 7 years ago
  huodongdong 31ca7939f3 tag 7 years ago
  huodongdong 98f4431dcf version 1.0 dev 7 years ago
  huodongdong 1d57b2f9f0 shit commit and reset 7 years ago
  huodongdong 34a6cad675 nothing 7 years ago
  huodongdong d69395e6a7 version 1.1: id string and relation; hibernate relation 7 years ago
  huodongdong e428f275b5 resource service complete 7 years ago
  huodongdong 2f57ba34a8 first version 7 years ago
  huodongdong 05dfbac277 fix 7 years ago
  huodongdong bdc9fa3299 rename 7 years ago
  huodongdong 08fb34581d add ignore 7 years ago
  huodongdong dd01ec7ace first framework 7 years ago

+ 85 - 0
rankin-api-web/src/main/java/cn/rankin/apiweb/controller/QRcodeController.java

@@ -3,12 +3,17 @@ package cn.rankin.apiweb.controller;
 import cn.rankin.apiweb.assist.resolver.NeedUser;
 import cn.rankin.apiweb.service.user.UserService;
 import cn.rankin.common.utils.api.model.APIResult;
+import cn.rankin.common.utils.util.FastJsonUtils;
 import cn.rankin.data.api.app.vo.DeviceUserVo;
 import cn.rankin.data.api.user.vo.QRCodeVo;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
 
 @Slf4j
 @RestController
@@ -37,5 +42,85 @@ public class QRcodeController {
         return userService.queryLastQRCode(eid);
     }
 
+    @RequestMapping(value = "/callback", method = RequestMethod.POST)
+    public APIResult callback(@RequestParam("data") String data)
+    {
+        log.info("qrcode/callback request json : json={},", data);
+        return userService.qrcodeCallback(data);
+    }
+
+
+    public static String getJson (){
+
+        //二维码信息
+        Map<String,Object> qrcode = new HashMap<>();
+        qrcode.put("user","100166661101001");
+        qrcode.put("time",new Date().getTime());
+
+        //扫码定位信息
+        Map<String,Object> position = new HashMap<>();
+        position.put("lat","27.10444444");
+        position.put("lng","101.5688746");
+        position.put("precise","位置精确度低");
+        position.put("address","湖南省长沙市五一大道壹号公馆");
+
+        //扫码人老师信息
+        Map<String,Object> teacher_info = new HashMap<>();
+        teacher_info.put("real_name","方老师");
+        teacher_info.put("mobile","17319266010");
+        teacher_info.put("position","校长");
+        teacher_info.put("en_code","10056");
+
+
+        //扫码人校区信息
+        Map<String,Object> campus_info = new HashMap<>();
+        campus_info.put("campus_name","芙蓉校区");
+        campus_info.put("en_code","10056");
+        campus_info.put("lat","27.10444444");
+        campus_info.put("lng","101.5688746");
+
+        //其他附加消息
+        Map<String,Object> attach = new HashMap<>();
+
+
+
+        Map<String,Object> data = new HashMap<>();
+        data.put("qrcode",qrcode);
+        data.put("position",position);
+        data.put("teacher_info",teacher_info);
+        data.put("campus_info",campus_info);
+        data.put("attach",attach);
+
+
+
+        Map<String,Object> result = new HashMap<>();
+        result.put("code","0");
+        result.put("status",true);
+        result.put("msg","扫码成功");
+        result.put("data",data);
+        result.put("user","100166661101001");
+
+
+        String json = FastJsonUtils.toJSONNoFeatures(result);
+        System.out.println(json);
+        return json;
+
+    }
+
+
+    public static void main(String[] args){
+        String json = getJson();
+
+        Map<Object, Object> objectMap = FastJsonUtils.stringToCollect(json);
+
+        Object code = objectMap.get("code");
+        Object status = objectMap.get("status");
+        Object msg = objectMap.get("msg");
+        Object data = objectMap.get("data");
+
+        System.out.println("=============");
+
+    }
+
 }
 

+ 1 - 0
rankin-api-web/src/main/java/cn/rankin/apiweb/intercepter/RequestSignatureInterceptor.java

@@ -44,6 +44,7 @@ public class RequestSignatureInterceptor implements HandlerInterceptor {
 
     static {
         ignorePaths.add("/token");
+        ignorePaths.add("/qrcode/callback");
     }
 
     @Autowired

+ 8 - 0
rankin-api-web/src/main/java/cn/rankin/apiweb/service/user/UserClient.java

@@ -79,6 +79,9 @@ public interface UserClient
     @RequestMapping(value = "/qrcode/last", method = RequestMethod.GET)
     QRCodeVo queryLastQRCode(@RequestParam("eid") String eid);
 
+    @RequestMapping(value = "/qrcode/callback", method = RequestMethod.POST)
+    APIResult qrcodeCallback(@RequestParam("data")String data);
+
 
     @Component
     class UserServiceHystrix implements UserClient
@@ -181,6 +184,11 @@ public interface UserClient
             return null;
         }
 
+        @Override
+        public APIResult qrcodeCallback(String data) {
+            return null;
+        }
+
 
     }
 }

+ 4 - 0
rankin-api-web/src/main/java/cn/rankin/apiweb/service/user/UserService.java

@@ -523,4 +523,8 @@ public class UserService
         }
         return APIResult.ok(vo);
     }
+
+    public APIResult qrcodeCallback(String data) {
+        return userClient.qrcodeCallback(data);
+    }
 }

+ 10 - 0
rankin-common-utils/pom.xml

@@ -91,6 +91,16 @@
             <artifactId>commons-lang3</artifactId>
             <version>3.4</version>
         </dependency>
+        <dependency>
+            <groupId>com.google.zxing</groupId>
+            <artifactId>core</artifactId>
+            <version>3.3.3</version>
+        </dependency>
+        <dependency>
+            <groupId>com.google.zxing</groupId>
+            <artifactId>javase</artifactId>
+            <version>3.3.3</version>
+        </dependency>
 
     </dependencies>
 

+ 100 - 0
rankin-user-service/src/main/java/cn/rankin/userservice/controller/QRCodeController.java

@@ -1,11 +1,20 @@
 package cn.rankin.userservice.controller;
 
+import cn.rankin.common.utils.api.model.APIResult;
+import cn.rankin.common.utils.util.FastJsonUtils;
 import cn.rankin.data.api.user.dto.QRCodeDTO;
+import cn.rankin.data.api.user.entity.LocationInfo;
 import cn.rankin.data.api.user.entity.QRCode;
+import cn.rankin.userservice.service.LocationInfoService;
 import cn.rankin.userservice.service.QRCodeService;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
+import java.util.Date;
+import java.util.Map;
+
+@Slf4j
 @RestController
 @RequestMapping(value = "/qrcode")
 public class QRCodeController {
@@ -13,6 +22,9 @@ public class QRCodeController {
     @Autowired
     private QRCodeService qrcodeService;
 
+    @Autowired
+    private LocationInfoService locationInfoService;
+
     @RequestMapping(method = RequestMethod.POST)
     public QRCode add(@RequestBody QRCodeDTO dto) {
         return qrcodeService.add(dto);
@@ -23,4 +35,92 @@ public class QRCodeController {
         return qrcodeService.findLastOne(eid);
     }
 
+    @RequestMapping(value = "/callback", method = RequestMethod.POST)
+    public APIResult callback(@RequestParam("data") String data)
+    {
+
+        Map<String, Object> requestMap = FastJsonUtils.stringToCollect(data);
+
+        boolean status = (boolean) requestMap.get("status");
+        Map<String, Object> dataMap = (Map<String, Object>) requestMap.get("data");
+
+
+        Map<String, Object> qrcodeMap = (Map<String, Object>) dataMap.get("qrcode");
+        String eid = (String) qrcodeMap.get("user");
+        long time = (long) qrcodeMap.get("time");
+
+        QRCode qrcode = new QRCode();
+        qrcode.setEid(eid);
+        qrcode.setTime(new Date(time));
+
+        QRCode entity = qrcodeService.findFirst(qrcode);
+
+        if(null == entity){
+            log.error("qrcode/callback  error ,qrcode is null");
+            return APIResult.ok("扫码失败,未找到二维码信息");
+        }
+
+        if(status){
+            qrcodeCallback(eid, entity.getSimple(), dataMap);
+            entity.setStatus(2);
+            qrcodeService.update(entity);
+            return APIResult.ok("扫码成功");
+        }else{
+            entity.setStatus(1);
+            qrcodeService.update(entity);
+            return APIResult.ok("扫码失败");
+        }
+
+    }
+
+    /**
+     * 处理位置信息
+     * @param dataMap
+     */
+    private void qrcodeCallback(String eid,String simple ,Map<String,Object> dataMap) {
+
+        Map<String,Object> position = (Map<String, Object>) dataMap.get("position");
+        String lat = (String) position.get("lat");
+        String lng = (String) position.get("lng");
+        String precise = (String) position.get("precise");
+        String address = (String) position.get("address");
+
+        Map<String,Object> teacher_info = (Map<String, Object>) dataMap.get("teacher_info");
+        String tRealName = (String) teacher_info.get("real_name");
+        String tMobile = (String) teacher_info.get("mobile");
+        String tPosition = (String) teacher_info.get("position");
+        String tEnCode = (String) teacher_info.get("en_code");
+
+
+        Map<String,Object> campus_info = (Map<String, Object>) dataMap.get("campus_info");
+        String campusName = (String) campus_info.get("campus_name");
+        String cEnCode = (String) campus_info.get("en_code");
+        String cLat = (String) campus_info.get("lat");
+        String cLng = (String) campus_info.get("lng");
+        Map<String,Object> attach = (Map<String, Object>) dataMap.get("attach");
+
+
+        LocationInfo locationInfo = new LocationInfo();
+        locationInfo.setEid(eid);
+        locationInfo.setSimple(simple);
+        locationInfo.setAddress(address);
+        locationInfo.setLat(lat);
+        locationInfo.setLng(lng);
+        locationInfo.setPrecise(precise);
+
+
+        locationInfo.setTRealName(tRealName);
+        locationInfo.setTEnCode(tEnCode);
+        locationInfo.setTMobile(tMobile);
+        locationInfo.setTPosition(tPosition);
+
+        locationInfo.setCampusName(campusName);
+        locationInfo.setCEnCode(cEnCode);
+        locationInfo.setCLat(cLat);
+        locationInfo.setCLng(cLng);
+
+        locationInfoService.add(locationInfo);
+
+    }
+
 }

+ 8 - 0
rankin-user-service/src/main/java/cn/rankin/userservice/repository/LocationInfoRepository.java

@@ -0,0 +1,8 @@
+package cn.rankin.userservice.repository;
+
+import cn.rankin.common.utils.jpa.BasicJpaRepository;
+import cn.rankin.data.api.user.entity.LocationInfo;
+
+public interface LocationInfoRepository extends BasicJpaRepository<LocationInfo, String> {
+
+}

+ 17 - 0
rankin-user-service/src/main/java/cn/rankin/userservice/service/LocationInfoService.java

@@ -0,0 +1,17 @@
+package cn.rankin.userservice.service;
+
+import cn.rankin.data.api.user.entity.LocationInfo;
+import cn.rankin.userservice.repository.LocationInfoRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class LocationInfoService {
+
+    @Autowired
+    private LocationInfoRepository locationInfoRepository;
+
+    public void add(LocationInfo locationInfo) {
+        locationInfoRepository.save(locationInfo);
+    }
+}

+ 8 - 0
rankin-user-service/src/main/java/cn/rankin/userservice/service/QRCodeService.java

@@ -35,4 +35,12 @@ public class QRCodeService {
         }
         return qrCode;
     }
+
+    public QRCode findFirst(QRCode simple) {
+        return qrcodeRepository.findFirst(simple);
+    }
+
+    public void update(QRCode qrcode) {
+        qrcodeRepository.update(qrcode);
+    }
 }