|
|
@@ -3,10 +3,9 @@ package com.usoftchina.smartschool.wechat.controller;
|
|
|
import com.usoftchina.smartschool.wechat.auth.annotation.IgnoreOpenApiAuth;
|
|
|
import com.usoftchina.smartschool.wechat.dto.MessageInfoDTO;
|
|
|
import com.usoftchina.smartschool.wechat.service.SendService;
|
|
|
-import com.usoftchina.smartschool.wechat.service.WxPushService;
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* @author: guq
|
|
|
@@ -29,7 +28,7 @@ public class WxPushController {
|
|
|
msg.setTouser(openid);
|
|
|
msg.setTemplateId(templateId);
|
|
|
msg.setTitle(title);
|
|
|
- msg.setKeyword2(keyword1);
|
|
|
+ msg.setKeyword1(keyword1);
|
|
|
msg.setKeyword2(keyword2);
|
|
|
msg.setKeyword3(keyword3);
|
|
|
msg.setKeyword4(keyword4);
|