|
|
@@ -14,6 +14,7 @@ import com.mokamrp.privates.mapper.pangu.pojo.FosterwxMobilePool;
|
|
|
import com.mokamrp.privates.mapper.pojo.User;
|
|
|
import com.mokamrp.privates.service.pangu.FosterwxFlowListService;
|
|
|
import com.mokamrp.privates.service.pangu.FosterwxMobilePoolService;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.http.HttpEntity;
|
|
|
@@ -40,6 +41,7 @@ import java.util.*;
|
|
|
*/
|
|
|
@RestController
|
|
|
@RequestMapping("/pangu/fosterwxMobilePool")
|
|
|
+@Slf4j
|
|
|
public class FosterwxMobilePoolController extends BaseController<FosterwxMobilePool> {
|
|
|
|
|
|
@Autowired
|
|
|
@@ -104,6 +106,7 @@ public class FosterwxMobilePoolController extends BaseController<FosterwxMobileP
|
|
|
if (ischange) {
|
|
|
HttpEntity<Map<String, Object>> httpEntity = new HttpEntity<>(body, null);
|
|
|
JSONObject result = restTemplate.exchange(domain + "/poster/qrcode/update", HttpMethod.POST, httpEntity, JSONObject.class).getBody();
|
|
|
+ log.info("请求结果:{}", result);
|
|
|
}
|
|
|
});
|
|
|
return AjaxResult.success("新增成功!");
|