|
@@ -0,0 +1,38 @@
|
|
|
+package com.szwl.controller;
|
|
|
+
|
|
|
+
|
|
|
+import com.szwl.feign.SzwlFeign;
|
|
|
+import com.szwl.feign.bean.TAdminParam;
|
|
|
+import com.szwl.model.bo.R;
|
|
|
+import com.szwl.model.bo.ResponseModel;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 线下支付订单 前端控制器
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author wuhs
|
|
|
+ * @since 2022-06-14
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/tCoinOrder")
|
|
|
+public class TCoinOrderController {
|
|
|
+ @Autowired
|
|
|
+ SzwlFeign szwlFeign;
|
|
|
+
|
|
|
+ @ApiOperation(value = "测试feign")
|
|
|
+ @GetMapping("/testFeign")
|
|
|
+ public ResponseModel<List> testFeign(String name) {
|
|
|
+ List list = R.getDataIfSuccess(szwlFeign.testList(new TAdminParam().setName(name)));
|
|
|
+ return R.ok(list);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|