|
@@ -0,0 +1,19 @@
|
|
|
+package org.jeecg.modules.client.AppManage;
|
|
|
+
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+
|
|
|
+import java.util.Hashtable;
|
|
|
+
|
|
|
+@FeignClient(value = "jflow-cloud", configuration = FeignClientConfig.class)
|
|
|
+@Component
|
|
|
+public interface WorkFlowClient {
|
|
|
+
|
|
|
+ @PostMapping("/WF/API/startFlow")
|
|
|
+ void startFlow(@RequestParam("flowNo") String flowNo,
|
|
|
+ @RequestParam("username") String username,
|
|
|
+ @RequestBody Hashtable<String, String> hashtable);
|
|
|
+}
|