File was renamed from zq-erp/src/main/java/com/matrix/system/common/actions/TestAction.java |
| | |
| | | |
| | | import com.matrix.component.wechat.externalInterface.weixinUtil.WeixinServiceUtil; |
| | | import com.matrix.core.pojo.AjaxResult; |
| | | import com.matrix.core.tools.UUIDUtil; |
| | | import com.matrix.core.web.BaseAction; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | /** |
| | | * 测试一下 |
| | | */ |
| | | @RequestMapping(value = "/test") |
| | | @RequestMapping(value = "/testb") |
| | | @Controller |
| | | public class TestAction extends BaseAction { |
| | | public class TestActionBB extends BaseAction { |
| | | |
| | | @Autowired |
| | | WeixinServiceUtil weixinServiceUtil; |
| | |
| | | @GetMapping(value = "/testPay") |
| | | @ResponseBody |
| | | public AjaxResult hiveMobileLoginOut() { |
| | | weixinServiceUtil.comPay("提现","TX123",1,"oJkRK4yelehsY4S7I6Ee1ydWtQMI",36L); |
| | | weixinServiceUtil.comPay("提现", UUIDUtil.getRandomID(),1,"oJkRK4yelehsY4S7I6Ee1ydWtQMI",36L); |
| | | return AjaxResult.buildSuccessInstance(""); |
| | | } |
| | | |