|
@@ -0,0 +1,42 @@
|
|
|
|
+package com.ruoyi.web.controller.opt;
|
|
|
|
+
|
|
|
|
+import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
+import com.ruoyi.common.utils.StringUtils;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
+import org.springframework.stereotype.Controller;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * @Author : wangming
|
|
|
|
+ * @CreateTime : 2022-09-06
|
|
|
|
+ * @Desc : 订单类
|
|
|
|
+ */
|
|
|
|
+@Controller
|
|
|
|
+@RequestMapping("/monitor/cache")
|
|
|
|
+@Slf4j
|
|
|
|
+public class OptController {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @desc :
|
|
|
|
+ * @author : wangming
|
|
|
|
+ * @createTime : 2022/9/6 11:04
|
|
|
|
+ * @param : [processId 订单id]
|
|
|
|
+ * @return : com.ruoyi.common.core.domain.AjaxResult
|
|
|
|
+ */
|
|
|
|
+ public AjaxResult chargeOrderNotice(@Param("processId") String processId){
|
|
|
|
+ try {
|
|
|
|
+ //先验证参数
|
|
|
|
+ if (StringUtils.isEmpty(processId)){
|
|
|
|
+ //返回接收失败
|
|
|
|
+// return AjaxResult
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ e.printStackTrace();
|
|
|
|
+ log.error("订单接收出错" + e.getLocalizedMessage());
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+}
|