.....
@ -1,38 +1 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html><html lang="ch" manifest="IGNORE.manifest"><head><meta charset="utf-8"><meta http-equiv="cache-control" content="max-age=0"><meta http-equiv="cache-control" content="no-cache"><meta http-equiv="expires" content="0"><meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"><meta http-equiv="pragma" content="no-cache"><meta name="apple-touch-fullscreen" content="YES"><meta name="format-detection" content="telephone=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,viewport-fit=cover"><link rel="icon" href="favicon.ico"><title>平安业绩发布会邀请函</title><link href="static/js/Web3Library.aa927da41b70def66c1a.js" rel="prefetch"><link href="static/css/chunk-vendors.d51fafee.css" rel="preload" as="style"><link href="static/css/index.21293d00.css" rel="preload" as="style"><link href="static/js/chunk-vendors.aa927da41b70def66c1a.js" rel="preload" as="script"><link href="static/js/index.aa927da41b70def66c1a.js" rel="preload" as="script"><link href="static/css/chunk-vendors.d51fafee.css" rel="stylesheet"><link href="static/css/index.21293d00.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 平安业绩发布会邀请函 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div class="loading-container" id="loadingContainer"><div class="loader"></div></div><script src="static/js/chunk-vendors.aa927da41b70def66c1a.js"></script><script src="static/js/index.aa927da41b70def66c1a.js"></script></body></html>
|
||||||
<html lang="ch" manifest="IGNORE.manifest">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<!--no-cache浏览器会缓存,但刷新页面或者重新打开时 会请求服务器,服务器可以响应304,如果文件有改动就会响应200-->
|
|
||||||
<meta http-equiv="cache-control" content="max-age=0" />
|
|
||||||
<meta http-equiv="cache-control" content="no-cache" />
|
|
||||||
<meta http-equiv="expires" content="0" />
|
|
||||||
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
|
||||||
<meta http-equiv="pragma" content="no-cache" />
|
|
||||||
|
|
||||||
<meta name="apple-touch-fullscreen" content="YES" />
|
|
||||||
<meta name="format-detection" content="telephone=no" />
|
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
||||||
<meta name="viewport"
|
|
||||||
content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,viewport-fit=cover" />
|
|
||||||
<link rel="icon" href="favicon.ico">
|
|
||||||
<title>
|
|
||||||
平安业绩发布会邀请函
|
|
||||||
</title>
|
|
||||||
<link href="static/js/Web3Library.js" rel="prefetch"><link href="static/js/chunk-vendors.js" rel="preload" as="script"><link href="static/js/index.js" rel="preload" as="script"></head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<noscript>
|
|
||||||
<strong>We're sorry but 平安业绩发布会邀请函 doesn't work properly without JavaScript enabled.
|
|
||||||
Please enable it to continue.</strong>
|
|
||||||
</noscript>
|
|
||||||
<div id="app"></div>
|
|
||||||
<!-- loading -->
|
|
||||||
<div class="loading-container" id="loadingContainer">
|
|
||||||
<div class="loader"></div>
|
|
||||||
</div>
|
|
||||||
<!-- built files will be auto injected -->
|
|
||||||
<script type="text/javascript" src="static/js/chunk-vendors.js"></script><script type="text/javascript" src="static/js/index.js"></script></body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
9
front/static/css/chunk-vendors.d51fafee.css
Normal file
1
front/static/css/index.21293d00.css
Normal file
BIN
front/static/css/index.21293d00.css.gz
Normal file
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
BIN
front/static/img/airplane.cdc2a064.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 274 KiB |
BIN
front/static/img/collection_bg.6b45341a.jpg
Normal file
|
After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 16 KiB |
BIN
front/static/img/collection_box_bg.44f60185.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 72 KiB |
BIN
front/static/img/default_img.b3a0d532.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 17 KiB |
BIN
front/static/img/envelope_back.62ef9210.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 53 KiB |
BIN
front/static/img/envelope_front.46782df9.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB |
BIN
front/static/img/form_bg.af67e47b.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 14 KiB |
BIN
front/static/img/get_collection.923bc220.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
front/static/img/get_name_dialog.79e4269e.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 30 KiB |
BIN
front/static/img/invite_box_bg.2c31ae07.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 67 KiB |
BIN
front/static/img/invite_box_blur_bg.096aeda9.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 219 KiB |
BIN
front/static/img/loading_icon.00a6c2aa.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 9.8 KiB |
BIN
front/static/img/main_box.6751aef5.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 316 KiB |
BIN
front/static/img/photo_border.0185e2d2.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
front/static/img/poster_bg.7d9a66f5.jpg
Normal file
|
After Width: | Height: | Size: 180 KiB |
BIN
front/static/img/share_btn.a8c96262.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 308 KiB |
BIN
front/static/img/show_bg.e5cf6573.jpg
Normal file
|
After Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 31 KiB |
BIN
front/static/img/spaceman.ed07e31b.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
BIN
front/static/img/submit.b2b70880.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
front/static/img/sure_btn.5d855a0e.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 134 KiB |
BIN
front/static/img/title.86338840.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
34
front/static/js/Web3Library.aa927da41b70def66c1a.js
Normal file
BIN
front/static/js/Web3Library.aa927da41b70def66c1a.js.gz
Normal file
67
front/static/js/chunk-vendors.aa927da41b70def66c1a.js
Normal file
BIN
front/static/js/chunk-vendors.aa927da41b70def66c1a.js.gz
Normal file
16
front/static/js/index.aa927da41b70def66c1a.js
Normal file
BIN
front/static/js/index.aa927da41b70def66c1a.js.gz
Normal file
@ -2,7 +2,6 @@ package com.szxgl.nft.controller;
|
|||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.szxgl.nft.entity.UserNftPhoto;
|
import com.szxgl.nft.entity.UserNftPhoto;
|
||||||
import com.szxgl.nft.exception.ParameterException;
|
|
||||||
import com.szxgl.nft.service.NftPhotoService;
|
import com.szxgl.nft.service.NftPhotoService;
|
||||||
import com.szxgl.nft.service.UserService;
|
import com.szxgl.nft.service.UserService;
|
||||||
import com.szxgl.nft.utils.*;
|
import com.szxgl.nft.utils.*;
|
||||||
@ -115,6 +114,7 @@ public class NFTPhotoController {
|
|||||||
//查询数字藏品详情
|
//查询数字藏品详情
|
||||||
Map<String, Object> map = nftPhotoService.getNftPhotoUrl(openid);
|
Map<String, Object> map = nftPhotoService.getNftPhotoUrl(openid);
|
||||||
if(map != null ){
|
if(map != null ){
|
||||||
|
if(map.get("url") != null){
|
||||||
int status = (int)map.get("status");
|
int status = (int)map.get("status");
|
||||||
String url = (String) map.get("url");
|
String url = (String) map.get("url");
|
||||||
if(status == 1 ){
|
if(status == 1 ){
|
||||||
@ -129,6 +129,7 @@ public class NFTPhotoController {
|
|||||||
//获取数字藏品数量
|
//获取数字藏品数量
|
||||||
int count = nftPhotoService.getNftCount();
|
int count = nftPhotoService.getNftCount();
|
||||||
map.put("count",count);
|
map.put("count",count);
|
||||||
|
}
|
||||||
return R.ok(map);
|
return R.ok(map);
|
||||||
}
|
}
|
||||||
return R.ok("openid不存在!");
|
return R.ok("openid不存在!");
|
||||||
|
|||||||
@ -64,16 +64,18 @@ public class UserController {
|
|||||||
}
|
}
|
||||||
String s = redisUtil.get(openidCode + openid).toString();
|
String s = redisUtil.get(openidCode + openid).toString();
|
||||||
if(s.equals(code)){
|
if(s.equals(code)){
|
||||||
String replace = seed.replaceAll(" ", "");
|
if(seed.contains(" ")|| seed.contains("-")){
|
||||||
replace = replace.replaceAll("-", "");
|
seed = seed.replaceAll(" ", "");
|
||||||
replace = replace.substring(4);
|
seed = seed.replaceAll("-", "");
|
||||||
|
seed = seed.substring(4);
|
||||||
|
}
|
||||||
//用户绑定手机号
|
//用户绑定手机号
|
||||||
R r = userService.addPhone(replace, openid);
|
R r = userService.addPhone(seed, openid);
|
||||||
if("手机号已被用户绑定!".equals(r.get("msg"))){
|
if("手机号已被用户绑定!".equals(r.get("msg"))){
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
//用户绑定NFT图片Hash值
|
//用户绑定NFT图片Hash值
|
||||||
nftPhotoService.addPhonePaintingHash(openid, replace, flag);
|
nftPhotoService.addPhonePaintingHash(openid, seed, flag);
|
||||||
//获取图片类型
|
//获取图片类型
|
||||||
String status = nftPhotoService.getStatus(openid);
|
String status = nftPhotoService.getStatus(openid);
|
||||||
return R.ok(status);
|
return R.ok(status);
|
||||||
@ -81,10 +83,11 @@ public class UserController {
|
|||||||
return R.error("验证码错误或者已过期!");
|
return R.error("验证码错误或者已过期!");
|
||||||
}
|
}
|
||||||
// Long parseInt = Long.parseLong(seed);
|
// Long parseInt = Long.parseLong(seed);
|
||||||
// for (int i = 0; i < 10; i++) {
|
// for (int i = 0; i < 500; i++) {
|
||||||
// ++ parseInt;
|
// ++ parseInt;
|
||||||
// nftPhotoService.addPhonePaintingHash(openid,parseInt+"",flag);
|
// nftPhotoService.addPhonePaintingHash(openid,parseInt+"",flag);
|
||||||
// }
|
// }
|
||||||
|
// return R.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -101,10 +104,10 @@ public class UserController {
|
|||||||
return R.error("openid为空");
|
return R.error("openid为空");
|
||||||
}
|
}
|
||||||
Map<String, Object> map = nftPhotoService.getNftPhotoUrl(openid);
|
Map<String, Object> map = nftPhotoService.getNftPhotoUrl(openid);
|
||||||
if(map != null ){
|
if(!map.get("phone").equals("") ){
|
||||||
//手机号已绑定
|
//手机号已绑定
|
||||||
map.remove("name");
|
|
||||||
map.put("flag",true);
|
map.put("flag",true);
|
||||||
|
if(map.get("status") != null || map.get("url") !=null ){
|
||||||
int status = (int)map.get("status");
|
int status = (int)map.get("status");
|
||||||
String url = (String) map.get("url");
|
String url = (String) map.get("url");
|
||||||
if(status == 1 ){
|
if(status == 1 ){
|
||||||
@ -115,6 +118,7 @@ public class UserController {
|
|||||||
url = String.format("https://cdn.xglpa.com/pars-nft/nonDirectional500/%s.png",url);
|
url = String.format("https://cdn.xglpa.com/pars-nft/nonDirectional500/%s.png",url);
|
||||||
}
|
}
|
||||||
map.put("url",url);
|
map.put("url",url);
|
||||||
|
}
|
||||||
return R.ok(map);
|
return R.ok(map);
|
||||||
}else {
|
}else {
|
||||||
//手机号未绑定
|
//手机号未绑定
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
FROM
|
FROM
|
||||||
nft_photo np
|
nft_photo np
|
||||||
INNER JOIN user_nft_photo up ON np.id = up.nft_photo_id
|
INNER JOIN user_nft_photo up ON np.id = up.nft_photo_id
|
||||||
INNER JOIN `user` u ON up.phone = u.phone
|
RIGHT JOIN `user` u ON up.phone = u.phone
|
||||||
where u.openid = #{openid}
|
where u.openid = #{openid}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||