| 
														
															@@ -3,6 +3,7 @@ package com.ylx.massage.service.impl; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import cn.hutool.core.collection.CollectionUtil; 
														 | 
														
														 | 
														
															 import cn.hutool.core.collection.CollectionUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import cn.hutool.json.JSONObject; 
														 | 
														
														 | 
														
															 import cn.hutool.json.JSONObject; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import cn.hutool.json.JSONUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; 
														 | 
														
														 | 
														
															 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 
														 | 
														
														 | 
														
															 import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 
														 | 
														
														 | 
														
															 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -15,6 +16,7 @@ import com.ylx.massage.enums.JsStatusEnum; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.ylx.massage.mapper.TJsMapper; 
														 | 
														
														 | 
														
															 import com.ylx.massage.mapper.TJsMapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.ylx.massage.service.*; 
														 | 
														
														 | 
														
															 import com.ylx.massage.service.*; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.ylx.massage.utils.LocationUtil; 
														 | 
														
														 | 
														
															 import com.ylx.massage.utils.LocationUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.ylx.massage.utils.WeChatUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import lombok.extern.slf4j.Slf4j; 
														 | 
														
														 | 
														
															 import lombok.extern.slf4j.Slf4j; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.stereotype.Service; 
														 | 
														
														 | 
														
															 import org.springframework.stereotype.Service; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.transaction.annotation.Transactional; 
														 | 
														
														 | 
														
															 import org.springframework.transaction.annotation.Transactional; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -51,6 +53,10 @@ public class TJsServiceImpl extends ServiceImpl<TJsMapper, TJs> implements TJsSe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Resource 
														 | 
														
														 | 
														
															     @Resource 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     private TWxUserService wxUserService; 
														 | 
														
														 | 
														
															     private TWxUserService wxUserService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    @Resource 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    private WeChatUtil weChatUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Override 
														 | 
														
														 | 
														
															     @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public Page<TJs> getAll(Page<TJs> page, TJsVo param) { 
														 | 
														
														 | 
														
															     public Page<TJs> getAll(Page<TJs> page, TJsVo param) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return mapper.getAll(page, param); 
														 | 
														
														 | 
														
															         return mapper.getAll(page, param); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -123,6 +129,27 @@ public class TJsServiceImpl extends ServiceImpl<TJsMapper, TJs> implements TJsSe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         objectLambdaQueryWrapper.eq(TJs::getcOpenId, js.getcOpenId()); 
														 | 
														
														 | 
														
															         objectLambdaQueryWrapper.eq(TJs::getcOpenId, js.getcOpenId()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return this.update(js, objectLambdaQueryWrapper); 
														 | 
														
														 | 
														
															         return this.update(js, objectLambdaQueryWrapper); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public void newOrderNotification(String openId) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//        订单号 23010000010101 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//        用户电话 15055556666 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//        用户名称 李四 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//        时间 2022年11月11日22:22 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//        服务地址 湖南长沙岳麓 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        cn.hutool.json.JSONObject param = JSONUtil.createObj(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //订单号 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        param.set("keyword1", "23010000010101"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //点话 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        param.set("keyword2","18360233903"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        param.set("keyword3","李四"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        param.set("keyword4","2022年11月11日22:22"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        param.set("keyword5","湖南长沙岳麓"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        weChatUtil.notification(openId, param.toString()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Override 
														 | 
														
														 | 
														
															     @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public TJs getByJsId(String jsId, String openId) { 
														 | 
														
														 | 
														
															     public TJs getByJsId(String jsId, String openId) { 
														 |