魏熙美 6 år sedan
förälder
incheckning
c8f541e6f1

+ 3
- 3
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/AliPayController.java Visa fil

@@ -59,13 +59,13 @@ public class AliPayController {
59 59
 	@ApiOperation(value = "统一下单", notes = "统一下单")
60 60
 	@ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "Integer", name = "billInvoiceId", value = "账单Id"),
61 61
 			@ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token") })
62
-	@RequestMapping(value = "/aliPayOrder/{billInvoiceId}",method = RequestMethod.GET)
63
-	public ResponseBean wxUnifiedOrder(@PathVariable("billInvoiceId") Integer billInvoiceId, HttpSession session){
62
+	@RequestMapping(value = "/aliPayOrder/{outTradeNo}",method = RequestMethod.GET)
63
+	public ResponseBean wxUnifiedOrder(@PathVariable("outTradeNo") String outTradeNo, HttpSession session){
64 64
 		ResponseBean responseBean = new ResponseBean();
65 65
 		UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
66 66
 		String resp = "";
67 67
 		try {
68
-			resp = aliPayService.AliPayOrder(billInvoiceId,userElement);
68
+			resp = aliPayService.AliPayOrder(outTradeNo,userElement);
69 69
 		} catch (Exception e) {
70 70
 			e.printStackTrace();
71 71
 			responseBean.addError(e.getMessage());

+ 9
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/BaseController.java Visa fil

@@ -65,4 +65,13 @@ public class BaseController {
65 65
         return userElement;
66 66
     }
67 67
 
68
+    /**
69
+     * 删除 用户 session
70
+     * @param session
71
+     */
72
+    protected void removeUserElement(HttpSession session) {
73
+        log.info("用户当前sessionId:{}", session.getId());
74
+        session.removeAttribute(Constant.APP_USER_SESSION);
75
+    }
76
+
68 77
 }

+ 11
- 11
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/UserController.java Visa fil

@@ -87,15 +87,14 @@ public class UserController extends BaseController {
87 87
 
88 88
     @ApiOperation(value = "修改手机号", notes = "修改手机号")
89 89
     @ApiImplicitParams({
90
-            @ApiImplicitParam(paramType = "body",dataType = "String",name = "paramets",value = "phone:登陆(手机号),code:(手机验证码),otherUserId:(租客或者家属ID,空为业主本人)"),
90
+            @ApiImplicitParam(paramType = "body",dataType = "String",name = "paramets",value = "phone:登陆(手机号),code:(手机验证码)"),
91 91
             @ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token")
92 92
     })
93 93
             @RequestMapping(value = "/user/phone",method = RequestMethod.PUT)
94 94
     public ResponseBean update(@RequestBody String paramets, HttpSession session){
95 95
         ResponseBean responseBean = new ResponseBean();
96
-        UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
97
-        Integer userId=userElement.getId();
98
-        ResponseBean response=iTaUserService.upDateloginName(userId,paramets,userElement.getCommunityId());
96
+        UserElement userElement = getUserElement(session);
97
+        ResponseBean response=iTaUserService.updateLoginName(userElement, paramets);
99 98
         return response;
100 99
     }
101 100
 
@@ -120,13 +119,8 @@ public class UserController extends BaseController {
120 119
     public ResponseBean updateUserNameAndGender(@RequestBody String parameter,
121 120
                                                 HttpSession session){
122 121
         ResponseBean response = new ResponseBean();
123
-
124
-        UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
125
-
126
-        TaUser user = JSONObject.parseObject(parameter,TaUser.class);
127
-        user.setId(userElement.getId());
128
-
129
-        response = iTaUserService.modifyUser(user);
122
+        UserElement userElement = getUserElement(session);
123
+        response = iTaUserService.modifyUser(userElement, parameter);
130 124
         return response;
131 125
 
132 126
     }
@@ -231,6 +225,11 @@ public class UserController extends BaseController {
231 225
         ResponseBean response = new ResponseBean();
232 226
         UserElement userElement = getUserElement(session);
233 227
         response = iTaUserService.getUserInfo(userElement,userId);
228
+        if ("1".equals(response.getCode())) {
229
+            // 清空 session
230
+            removeUserElement(session);
231
+            return response;
232
+        }
234 233
         TaUserVO userVO = (TaUserVO) response.getData();
235 234
         userVO.setToken(session.getId());
236 235
 
@@ -244,6 +243,7 @@ public class UserController extends BaseController {
244 243
             @ApiImplicitParam(paramType = "path", dataTypeClass = Integer.class, name = "communityId", value = "小区Id"),
245 244
     })
246 245
     @RequestMapping(value = "/user/temporary/{communityId}", method = RequestMethod.POST)
246
+    @Deprecated
247 247
     public ResponseBean temporaryLogin(@PathVariable Integer communityId, HttpSession session) {
248 248
         ResponseBean responseBean = new ResponseBean();
249 249
         responseBean = iTaUserService.temporaryLogin(communityId);

+ 2
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/dao/TpBillOrderMapper.java Visa fil

@@ -1,12 +1,14 @@
1 1
 package com.community.huiju.dao;
2 2
 
3 3
 import com.community.huiju.model.TpBillOrder;
4
+import org.apache.ibatis.annotations.Mapper;
4 5
 import org.apache.ibatis.annotations.Param;
5 6
 import org.apache.ibatis.annotations.ResultMap;
6 7
 import org.apache.ibatis.annotations.Select;
7 8
 
8 9
 import java.util.List;
9 10
 
11
+@Mapper
10 12
 public interface TpBillOrderMapper {
11 13
     int deleteByPrimaryKey(Integer id);
12 14
 

+ 2
- 2
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/AliPayServiceI.java Visa fil

@@ -8,9 +8,9 @@ public interface AliPayServiceI {
8 8
 	/**
9 9
 	 * 微信支付统一下单
10 10
 	 * @return
11
-	 * @param billInvoiceId
11
+	 * @param outTradeNo
12 12
 	 * @param userElement
13 13
 	 */
14
-	String AliPayOrder(Integer billInvoiceId, UserElement userElement) throws Exception;
14
+	String AliPayOrder(String outTradeNo, UserElement userElement) throws Exception;
15 15
 	
16 16
 }

+ 6
- 4
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/ITaUserService.java Visa fil

@@ -43,10 +43,11 @@ public interface ITaUserService {
43 43
 
44 44
     /**
45 45
      * 修改当前用户手机号
46
-     * @param id
46
+     * @param userElement
47
+     * @param paramets
47 48
      * @return
48 49
      */
49
-    ResponseBean upDateloginName(Integer id, String paramets,Integer communityId);
50
+    ResponseBean updateLoginName(UserElement userElement, String paramets);
50 51
 
51 52
     /**
52 53
      * 获取房屋成员列表
@@ -57,10 +58,11 @@ public interface ITaUserService {
57 58
 
58 59
     /**
59 60
      * 修改用户
60
-     * @param user
61
+     * @param userElement
62
+     * @param parameter
61 63
      * @return
62 64
      */
63
-    ResponseBean modifyUser(TaUser user);
65
+    ResponseBean modifyUser(UserElement userElement, String parameter);
64 66
 
65 67
     /**
66 68
      * 停用用户 或者 启用用户

+ 19
- 23
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/AliPayServiceImpl.java Visa fil

@@ -11,15 +11,13 @@ import com.community.huiju.common.wxpay.HfWxConfig;
11 11
 import com.community.huiju.common.wxpay.WXPay;
12 12
 import com.community.huiju.common.wxpay.WXPayConstants;
13 13
 import com.community.huiju.common.wxpay.WXPayUtil;
14
-import com.community.huiju.dao.TaSysRoleMapper;
15
-import com.community.huiju.dao.TaUserMapper;
16
-import com.community.huiju.dao.TpBillInvoiceMapper;
17
-import com.community.huiju.dao.TpBillMapper;
18
-import com.community.huiju.dao.TpBillStatementMapper;
14
+import com.community.huiju.dao.*;
19 15
 import com.community.huiju.model.TaSysRole;
20 16
 import com.community.huiju.model.TaUser;
21 17
 import com.community.huiju.model.TpBillInvoice;
18
+import com.community.huiju.model.TpBillOrder;
22 19
 import com.community.huiju.service.AliPayServiceI;
20
+import org.apache.commons.collections.CollectionUtils;
23 21
 import org.slf4j.Logger;
24 22
 import org.slf4j.LoggerFactory;
25 23
 import org.springframework.beans.factory.annotation.Autowired;
@@ -28,6 +26,7 @@ import org.springframework.stereotype.Service;
28 26
 import org.springframework.transaction.annotation.Transactional;
29 27
 
30 28
 import java.math.BigDecimal;
29
+import java.util.List;
31 30
 
32 31
 import static com.alipay.api.AlipayConstants.CHARSET_UTF8;
33 32
 
@@ -54,6 +53,9 @@ public class AliPayServiceImpl implements AliPayServiceI {
54 53
 
55 54
 	@Autowired
56 55
 	private TaSysRoleMapper taSysRoleMapper;
56
+
57
+	@Autowired
58
+	private TpBillOrderMapper tpBillOrderMapper;
57 59
 	
58 60
 	@Value("${alipay.APP_PRIVATE_KEY}")
59 61
 	private String APP_PRIVATE_KEY;
@@ -68,29 +70,23 @@ public class AliPayServiceImpl implements AliPayServiceI {
68 70
 	 * 支付宝统一下单
69 71
 	 *
70 72
 	 * @return
71
-	 * @param billInvoiceId
73
+	 * @param outTradeNo
72 74
 	 * @param userElement
73 75
 	 */
74 76
 	@Override
75 77
 	@Transactional(rollbackFor = Exception.class)
76
-	public String AliPayOrder(Integer billInvoiceId, UserElement userElement) throws Exception {
78
+	public String AliPayOrder(String outTradeNo, UserElement userElement) throws Exception {
77 79
 		Integer userId = userElement.getId();
78 80
 
79
-		// 如果是家属/租客, 应该用业主的用户id
80
-		TaUser taUser = taUserMapper.selectByPrimaryKey(userId);
81
-		TaSysRole taSysRole = taSysRoleMapper.findRoleByUserId(userId);
82
-		if (null != taSysRole && taSysRole.getId().intValue() != 1) {
83
-			TaUser ownerUser = taUserMapper.selectByPrimaryKey(taUser.getParentId());
84
-			userId = ownerUser.getId();
85
-		}
86
-
87 81
 		//获取支付金额
88
-		TpBillInvoice tpBillInvoice = tpBillInvoiceMapper.selectByIdAndUserId(billInvoiceId,userId,userElement.getCommunityId());
89
-		if (null == tpBillInvoice){
82
+		List<TpBillOrder> billOrderList = tpBillOrderMapper.selectByOrderBumber(outTradeNo);
83
+		if (CollectionUtils.isEmpty(billOrderList)){
90 84
 			throw new Exception("订单不存在");
91
-		}else if (!tpBillInvoice.getBillStatus().equals("3")){
92
-			throw new Exception("不是正在支付的订单");
93 85
 		}
86
+
87
+		// 计算金额
88
+		Integer payPrice = billOrderList.stream().mapToInt(e -> tpBillInvoiceMapper.selectByPrimaryKey(e.getTpBillInvoiceId()).getPayPrice()).sum();
89
+
94 90
 		
95 91
 		//下单
96 92
 		AlipayClient alipayClient = new DefaultAlipayClient("https://openapi.alipay.com/gateway.do", ALI_APP_ID, APP_PRIVATE_KEY, "json", CHARSET_UTF8, ALIPAY_PUBLIC_KEY, "RSA2");
@@ -98,11 +94,11 @@ public class AliPayServiceImpl implements AliPayServiceI {
98 94
 		AlipayTradeAppPayRequest request = new AlipayTradeAppPayRequest();
99 95
 		//SDK已经封装掉了公共参数,这里只需要传入业务参数。以下方法为sdk的model入参方式(model和biz_content同时存在的情况下取biz_content)。
100 96
 		AlipayTradeAppPayModel model = new AlipayTradeAppPayModel();
101
-		model.setBody(tpBillInvoice.getBillName());
102
-		model.setSubject(tpBillInvoice.getBillName());
103
-		model.setOutTradeNo(tpBillInvoice.getOutTradeNo());
97
+		model.setBody("缴费");
98
+		model.setSubject("缴费");
99
+		model.setOutTradeNo(outTradeNo);
104 100
 		model.setTimeoutExpress("30m");
105
-		model.setTotalAmount(BigDecimal.valueOf(Long.valueOf(tpBillInvoice.getPayPrice())).divide(new BigDecimal(100)).toString());
101
+		model.setTotalAmount(BigDecimal.valueOf(Long.valueOf(payPrice)).divide(new BigDecimal(100)).toString());
106 102
 		model.setProductCode("QUICK_MSECURITY_PAY");
107 103
 		request.setBizModel(model);
108 104
 		request.setNotifyUrl("http://106.14.20.193:8086/app-api/aliPayNotify");

+ 64
- 75
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java Visa fil

@@ -239,35 +239,18 @@ public class TaUserServiceImpl implements ITaUserService {
239 239
 
240 240
     @Transactional(rollbackFor = Exception.class)
241 241
     @Override
242
-    public ResponseBean upDateloginName(Integer id, String paramets,Integer communityId) {
242
+    public ResponseBean updateLoginName(UserElement userElement, String paramets) {
243 243
         ResponseBean response = new ResponseBean();
244 244
 
245 245
         JSONObject jsonObject = JSONObject.parseObject(paramets);
246 246
         String phone = (String) jsonObject.get("phone");
247 247
         String code = (String) jsonObject.get("code");
248
-        String otherUserId = (String) jsonObject.get("otherUserId");
249 248
 
250
-        // 默认为当前用户
251
-        Integer userId = id;
249
+        TaUser user=taUserMapper.selectByPrimaryKey(userElement.getId());
252 250
 
253
-        if (StringUtils.isNotBlank(otherUserId)) {
254
-            /**校验otherUserId是否为当前登入用户的家属和业主**/
255
-            response=getTaFaceParentId( id, Integer.valueOf(otherUserId));
256
-            if ("1".equals(response.getCode())) {
257
-                return response;
258
-            }
259
-            userId = Integer.valueOf(otherUserId.trim());
260
-        }
251
+        // 校验手机号和验证码
252
+        iCode.checkPhoneAndCode(phone, code);
261 253
 
262
-        TaUser user=taUserMapper.selectByPrimaryKey(userId);
263
-        //系统验证码
264
-        String  codes= (String) AppkeyCache.getCache(phone);
265
-        //用户电话
266
-            /*String  phones=user.getLoginName();*/
267
-        if (!AccountValidatorUtil.isPhone(phone)){
268
-            response.addError("请输入正确的手机号!");
269
-            return response;
270
-        }
271 254
         //当前小区下的电话校验
272 255
         TaUser loginName=taUserMapper.getByLoginName(user.getCommunityId(),phone);
273 256
         if (null!=loginName)  {
@@ -282,42 +265,35 @@ public class TaUserServiceImpl implements ITaUserService {
282 265
             return response;
283 266
         }
284 267
 
285
-        if ("1234".equals(code)) {
268
+        // 修改号码
269
+        TaUser taUser=new TaUser();
270
+        taUser.setLoginName(phone);
271
+        taUser.setId(user.getId());
272
+        taUser.setUpdateDate(new Date());
273
+        taUser.setUpdateUser(user.getId());
274
+        taUserMapper.updateLongName(taUser);
275
+        response.addSuccess("修改成功");
286 276
 
287
-        }else if (StringUtils.isBlank(code) || !codes.equals(code)) {
288
-            response.addError("验证码错误!");
289
-            return response;
290
-        }
291
-            TaUser taUser=new TaUser();
292
-            taUser.setLoginName(phone);
293
-            taUser.setId(userId);
294
-            taUser.setUpdateDate(new Date());
295
-            taUser.setUpdateUser(id);
296
-            taUserMapper.updateLongName(taUser);
297
-            response.addSuccess("修改成功");
298
-            AppkeyCache.setCache(user.getLoginName(),"null");
277
+        /**
278
+         * 如果是 家属或者租客,修改手机号, 就不允许修改资料库的信息
279
+         * 根据房产判断 当前是否是 业主
280
+         */
299 281
 
282
+        TaUserVerify userVerify = taUserVerifyMapper.selectByPrimaryKey(userElement.getUserVerifyId());
283
+        TaSysRole sysRole = taSysRoleMapper.selectByPrimaryKey(userVerify.getRoleId());
300 284
 
301
-            /**
302
-             * 如果是家属或者租客,修改手机号, 就不允许修改资料库的信息
303
-             */
285
+        // 修改楼栋信息资料库的手机号
286
+        // 1 业主 2 租客 3 家属
287
+        // 只允许业主修改
288
+        if (null != sysRole && sysRole.getId().intValue() == 1) {
289
+            TpBuildingOwnerInfo buildingOwnerInfo = tpBuildingOwnerInfoMapper.selectByPrimaryKey(userVerify.getRoomNoId());
290
+            buildingOwnerInfo.setOwnerTel(phone);
291
+            tpBuildingOwnerInfoMapper.updateByPrimaryKeySelective(buildingOwnerInfo);
292
+        }
304 293
 
305
-            // 修改楼栋信息资料库的手机号
306
-            Map<String, Object> roleMap = Maps.newHashMap();
307
-            roleMap.put("communityId", user.getCommunityId());
308
-            roleMap.put("userId", userId);
309
-            TaSysUserRole taSysUserRole = taSysUserRoleMapper.selectByCommunityIdAndUserId(roleMap);
310
-            // 1 业主 2 租客 3 家属
311
-            // 只允许业主修改
312
-            if (taSysUserRole.getRoleId().intValue() == 1) {
313
-                // TODO 后期可能会有一个业主对应多个小区, 也就是会有多个资料, 具体看需求
314
-                // TODO 目前是一对一
315
-                TpBuildingOwnerInfo buildingOwnerInfo = tpBuildingOwnerInfoMapper.selectByPrimaryKey(user.getBuildingOwnerInfoId());
316
-                buildingOwnerInfo.setOwnerTel(phone);
317
-                tpBuildingOwnerInfoMapper.updateByPrimaryKeySelective(buildingOwnerInfo);
318
-            }
319
-            response.addSuccess(new String[0]);
320
-            return response;
294
+        // 给前端返回一个空数组
295
+        response.addSuccess(new String[0]);
296
+        return response;
321 297
     }
322 298
 
323 299
     public ResponseBean getTaFaceParentId(Integer userId,Integer otherUserId){
@@ -346,28 +322,33 @@ public class TaUserServiceImpl implements ITaUserService {
346 322
 
347 323
     @Transactional(rollbackFor = Exception.class)
348 324
     @Override
349
-    public ResponseBean modifyUser(TaUser user) {
325
+    public ResponseBean modifyUser(UserElement userElement, String parameter) {
350 326
 
351 327
         ResponseBean response = new ResponseBean();
352 328
 
353
-        TaUser taUser = taUserMapper.selectByPrimaryKey(user.getId());
354
-        HashMap map= new HashMap<>();
355
-                map.put("communityId",taUser.getCommunityId());
356
-                map.put("userId",taUser.getId());
357
-        TaSysUserRole TaSysUserRole= taSysUserRoleMapper.selectByCommunityIdAndUserId(map);
329
+        // 前台提交的数据
330
+        TaUser user = JSONObject.parseObject(parameter, TaUser.class);
331
+        // 数据库数据
332
+        TaUser taUser = taUserMapper.selectByPrimaryKey(userElement.getId());
333
+
334
+        /**
335
+         * 判断是否 是业主,如果业主就连着 楼栋资料库 信息修改
336
+         */
337
+
338
+        TaSysRole sysRole = taSysRoleMapper.selectByPrimaryKey(userElement.getUserVerifyId());
339
+
358 340
         BeanTools.copyProperties(user, taUser);
359
-            int result = taUserMapper.updateByPrimaryKeySelective(taUser);
360
-            int VerifyStatus= Integer.parseInt(taUser.getVerifyStatus());
361
-            int Role= TaSysUserRole.getRoleId();
362
-            if (1==VerifyStatus &&1==Role) {
363
-            TpBuildingOwnerInfo TpBuildingOwnerInfo = new TpBuildingOwnerInfo();
364
-            TpBuildingOwnerInfo.setOwnerName(user.getUserName());
365
-            TpBuildingOwnerInfo.setGender(user.getGender());
366
-            TpBuildingOwnerInfo.setOwnerTel(user.getLoginName());
367
-            TpBuildingOwnerInfo.setUpdateDate(new Date());
368
-            TpBuildingOwnerInfo.setUpdateUser(taUser.getId());
369
-            TpBuildingOwnerInfo.setId(taUser.getBuildingOwnerInfoId());
370
-            tpBuildingOwnerInfoMapper.updateByPrimaryKeySelective(TpBuildingOwnerInfo);
341
+        int result = taUserMapper.updateByPrimaryKeySelective(taUser);
342
+        // int VerifyStatus= Integer.parseInt(taUser.getVerifyStatus());
343
+        if (1 == sysRole.getId()) {
344
+            TpBuildingOwnerInfo tpBuildingOwnerInfo = new TpBuildingOwnerInfo();
345
+            tpBuildingOwnerInfo.setOwnerName(user.getUserName());
346
+            tpBuildingOwnerInfo.setGender(user.getGender());
347
+            tpBuildingOwnerInfo.setOwnerTel(user.getLoginName());
348
+            tpBuildingOwnerInfo.setUpdateDate(new Date());
349
+            tpBuildingOwnerInfo.setUpdateUser(taUser.getId());
350
+            tpBuildingOwnerInfo.setId(userElement.getRoomNoId());
351
+            tpBuildingOwnerInfoMapper.updateByPrimaryKeySelective(tpBuildingOwnerInfo);
371 352
         }
372 353
         if (result > 0){
373 354
             response.addSuccess("修改成功!");
@@ -520,10 +501,10 @@ public class TaUserServiceImpl implements ITaUserService {
520 501
             response.addError("当前用户不存在!");
521 502
             return response;
522 503
         }
523
-        if (taUser.getVerifyStatus().equals("0") || taUser.getVerifyStatus().equals("2")) {
524
-            response.addError("对不起,您未认证或认证已作废!");
525
-            return response;
526
-        }
504
+//        if (taUser.getVerifyStatus().equals("0") || taUser.getVerifyStatus().equals("2")) {
505
+//            response.addError("对不起,您未认证或认证已作废!");
506
+//            return response;
507
+//        }
527 508
         // 当前用户的身份
528 509
         TaSysRole role = taSysRoleMapper.findRoleByUserId(taUser.getId());
529 510
         if (!"OWNER".equals(role.getRoleName())) {
@@ -810,6 +791,14 @@ public class TaUserServiceImpl implements ITaUserService {
810 791
             response.addError("用户不存在!");
811 792
             return response;
812 793
         }
794
+        // 当 解除了这个房产关联关系的时候,就不能获取到用户信息
795
+        TaUserVerify userVerify = taUserVerifyMapper.selectByPrimaryKey(userElement.getUserVerifyId());
796
+        if (null == userVerify) {
797
+            response.addError("无关联该房产");
798
+            return response;
799
+        }
800
+
801
+        // 查询 家属或者租客
813 802
         if (null != userId) {
814 803
             TaUser todUser = taUserMapper.selectByPrimaryKey(userId);
815 804
             TaUserVerify todUserVerify = taUserVerifyMapper.selectCommunityAndAddress(userId, userElement.getCommunityId(), userElement.getPhaseId(), userElement.getBuildingId(), userElement.getUnitId(), userElement.getLevelId(), userElement.getRoomNoId());

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/WxPayServiceImpl.java Visa fil

@@ -76,7 +76,7 @@ public class WxPayServiceImpl implements WxPayServiceI {
76 76
 		
77 77
 		//下单
78 78
 		Map<String, String> data = new HashMap<String, String>();
79
-		data.put("body", "订单");
79
+		data.put("body", "缴费");
80 80
 		//商品号唯一
81 81
 		data.put("out_trade_no", orderNo);
82 82
 		data.put("device_info", "");