Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
ms
soss
Commits
6d1e5769
Commit
6d1e5769
authored
May 31, 2022
by
张新旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
什么时候是个头,是个头
parent
10c00fa6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
soss-admin/src/main/java/com/soss/web/controller/coffee/ApplicationController.java
+1
-1
soss-admin/src/main/java/com/soss/web/controller/coffee/WeixinController.java
+1
-1
soss-common/src/main/java/com/soss/common/core/domain/entity/SysRole.java
+0
-2
soss-framework/src/main/java/com/soss/framework/web/service/WeixinServiceImpl.java
+6
-1
soss-system/src/main/java/com/soss/system/domain/vo/customer/CustomerQueryVo.java
+2
-2
No files found.
soss-admin/src/main/java/com/soss/web/controller/coffee/ApplicationController.java
View file @
6d1e5769
...
@@ -54,7 +54,7 @@ public class ApplicationController {
...
@@ -54,7 +54,7 @@ public class ApplicationController {
data
.
put
(
"seqNo"
,
key
);
data
.
put
(
"seqNo"
,
key
);
jsonObject
.
put
(
"data"
,
data
);
jsonObject
.
put
(
"data"
,
data
);
jiGuangPushService
.
push
(
keys
[
0
],
jsonObject
);
jiGuangPushService
.
push
(
keys
[
0
],
jsonObject
);
stringRedisTemplate
.
delete
(
key
);
//
stringRedisTemplate.delete(key);
return
AjaxResult
.
success
(
"处理成功"
,
s
);
return
AjaxResult
.
success
(
"处理成功"
,
s
);
}
}
@RequestMapping
(
"/jgRegister"
)
@RequestMapping
(
"/jgRegister"
)
...
...
soss-admin/src/main/java/com/soss/web/controller/coffee/WeixinController.java
View file @
6d1e5769
...
@@ -89,10 +89,10 @@ public class WeixinController {
...
@@ -89,10 +89,10 @@ public class WeixinController {
public
AjaxResult
getArea
(
@RequestParam
(
required
=
false
)
String
lng
,
@RequestParam
(
required
=
false
)
String
lat
){
public
AjaxResult
getArea
(
@RequestParam
(
required
=
false
)
String
lng
,
@RequestParam
(
required
=
false
)
String
lat
){
List
<
JSONObject
>
area
=
weixinService
.
getArea
(
lng
,
lat
);
List
<
JSONObject
>
area
=
weixinService
.
getArea
(
lng
,
lat
);
return
AjaxResult
.
success
(
area
);
return
AjaxResult
.
success
(
area
);
}
}
@GetMapping
(
value
=
"/infoByShop"
)
@GetMapping
(
value
=
"/infoByShop"
)
public
AjaxResult
infoByShop
(
String
shopId
)
public
AjaxResult
infoByShop
(
String
shopId
)
{
{
...
...
soss-common/src/main/java/com/soss/common/core/domain/entity/SysRole.java
View file @
6d1e5769
...
@@ -111,8 +111,6 @@ public class SysRole extends BaseEntity
...
@@ -111,8 +111,6 @@ public class SysRole extends BaseEntity
this
.
roleName
=
roleName
;
this
.
roleName
=
roleName
;
}
}
@NotBlank
(
message
=
"权限字符不能为空"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"权限字符长度不能超过100个字符"
)
public
String
getRoleKey
()
public
String
getRoleKey
()
{
{
return
roleKey
;
return
roleKey
;
...
...
soss-framework/src/main/java/com/soss/framework/web/service/WeixinServiceImpl.java
View file @
6d1e5769
...
@@ -68,6 +68,7 @@ import java.text.DecimalFormat;
...
@@ -68,6 +68,7 @@ import java.text.DecimalFormat;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.locks.ReentrantLock
;
import
java.util.concurrent.locks.ReentrantLock
;
import
java.util.stream.Collectors
;
@Service
@Service
public
class
WeixinServiceImpl
{
public
class
WeixinServiceImpl
{
...
@@ -591,7 +592,11 @@ public class WeixinServiceImpl {
...
@@ -591,7 +592,11 @@ public class WeixinServiceImpl {
JSONObject
zooe
=
zooeObject
.
getJSONObject
(
j
);
JSONObject
zooe
=
zooeObject
.
getJSONObject
(
j
);
if
(
shop1
.
getZone
().
equals
(
zooe
.
getString
(
"value"
))){
if
(
shop1
.
getZone
().
equals
(
zooe
.
getString
(
"value"
))){
zoneBoo
=
false
;
zoneBoo
=
false
;
zooe
.
getJSONArray
(
"shops"
).
add
(
shop1
);
JSONArray
shopInfos
=
zooe
.
getJSONArray
(
"shops"
);
shopInfos
.
add
(
shop1
);
ArrayList
<
Shop
>
shopList
=
(
ArrayList
<
Shop
>)
shopInfos
.
toJavaList
(
Shop
.
class
);
List
<
Shop
>
collect
=
shopList
.
stream
().
sorted
((
a
,
b
)
->
a
.
getDistance
().
compareTo
(
b
.
getDistance
())).
collect
(
Collectors
.
toList
());
zooe
.
put
(
"shops"
,
collect
);
}
}
}
}
if
(
zoneBoo
){
if
(
zoneBoo
){
...
...
soss-system/src/main/java/com/soss/system/domain/vo/customer/CustomerQueryVo.java
View file @
6d1e5769
...
@@ -12,9 +12,9 @@ public class CustomerQueryVo extends BaseEntity {
...
@@ -12,9 +12,9 @@ public class CustomerQueryVo extends BaseEntity {
private
String
userInfo
;
private
String
userInfo
;
private
Data
createAtStart
;
private
String
createAtStart
;
private
Data
createAtEnd
;
private
String
createAtEnd
;
//1 有购买 2无购买 3有复购
//1 有购买 2无购买 3有复购
private
String
buyRecords
;
private
String
buyRecords
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment