This commit is contained in:
gaojiuqi 2022-03-03 23:10:42 +08:00
parent 70c2b7a04e
commit 35d1d68a66
61 changed files with 165 additions and 9409 deletions

View File

@ -1,38 +1 @@
<!DOCTYPE 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>
<!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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,6 @@ package com.szxgl.nft.controller;
import com.alibaba.fastjson.JSONObject;
import com.szxgl.nft.entity.UserNftPhoto;
import com.szxgl.nft.exception.ParameterException;
import com.szxgl.nft.service.NftPhotoService;
import com.szxgl.nft.service.UserService;
import com.szxgl.nft.utils.*;
@ -115,6 +114,7 @@ public class NFTPhotoController {
//查询数字藏品详情
Map<String, Object> map = nftPhotoService.getNftPhotoUrl(openid);
if(map != null ){
if(map.get("url") != null){
int status = (int)map.get("status");
String url = (String) map.get("url");
if(status == 1 ){
@ -129,6 +129,7 @@ public class NFTPhotoController {
//获取数字藏品数量
int count = nftPhotoService.getNftCount();
map.put("count",count);
}
return R.ok(map);
}
return R.ok("openid不存在");

View File

@ -64,16 +64,18 @@ public class UserController {
}
String s = redisUtil.get(openidCode + openid).toString();
if(s.equals(code)){
String replace = seed.replaceAll(" ", "");
replace = replace.replaceAll("-", "");
replace = replace.substring(4);
if(seed.contains(" ")|| seed.contains("-")){
seed = seed.replaceAll(" ", "");
seed = seed.replaceAll("-", "");
seed = seed.substring(4);
}
//用户绑定手机号
R r = userService.addPhone(replace, openid);
R r = userService.addPhone(seed, openid);
if("手机号已被用户绑定!".equals(r.get("msg"))){
return r;
}
//用户绑定NFT图片Hash值
nftPhotoService.addPhonePaintingHash(openid, replace, flag);
nftPhotoService.addPhonePaintingHash(openid, seed, flag);
//获取图片类型
String status = nftPhotoService.getStatus(openid);
return R.ok(status);
@ -81,10 +83,11 @@ public class UserController {
return R.error("验证码错误或者已过期!");
}
// Long parseInt = Long.parseLong(seed);
// for (int i = 0; i < 10; i++) {
// for (int i = 0; i < 500; i++) {
// ++ parseInt;
// nftPhotoService.addPhonePaintingHash(openid,parseInt+"",flag);
// }
// return R.ok();
}
@ -101,10 +104,10 @@ public class UserController {
return R.error("openid为空");
}
Map<String, Object> map = nftPhotoService.getNftPhotoUrl(openid);
if(map != null ){
if(!map.get("phone").equals("") ){
//手机号已绑定
map.remove("name");
map.put("flag",true);
if(map.get("status") != null || map.get("url") !=null ){
int status = (int)map.get("status");
String url = (String) map.get("url");
if(status == 1 ){
@ -115,6 +118,7 @@ public class UserController {
url = String.format("https://cdn.xglpa.com/pars-nft/nonDirectional500/%s.png",url);
}
map.put("url",url);
}
return R.ok(map);
}else {
//手机号未绑定

View File

@ -46,7 +46,7 @@
FROM
nft_photo np
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}
</select>