提交 5c8ba0a9 authored 作者: 李炎's avatar 李炎

更换数据中心

上级 3e0f1919
...@@ -22,7 +22,7 @@ public class CategoryDao { ...@@ -22,7 +22,7 @@ public class CategoryDao {
// static String pwd = "888888"; // static String pwd = "888888";
// static int lang = 2052;https://192.168.6.16/k3cloud/ // static int lang = 2052;https://192.168.6.16/k3cloud/
static String K3CloudURL = "http://192.168.6.16/k3cloud/";//指定地址 static String K3CloudURL = "http://192.168.6.16/k3cloud/";//指定地址
static String dbId = "613ef0b02c911d"; static String dbId = "6017c3fce822bf";
static String uid = "kingdee"; static String uid = "kingdee";
static String pwd = "123456"; static String pwd = "123456";
static int lang = 2052; static int lang = 2052;
......
...@@ -21,7 +21,7 @@ public class CategoryDaoSql { ...@@ -21,7 +21,7 @@ public class CategoryDaoSql {
// static String pwd = "888888"; // static String pwd = "888888";
// static int lang = 2052; // static int lang = 2052;
static String K3CloudURL = "http://192.168.6.16/k3cloud/";//指定地址 static String K3CloudURL = "http://192.168.6.16/k3cloud/";//指定地址
static String dbId = "613ef0b02c911d"; static String dbId = "6017c3fce822bf";
static String uid = "kingdee"; static String uid = "kingdee";
static String pwd = "123456"; static String pwd = "123456";
static int lang = 2052; static int lang = 2052;
......
...@@ -19,7 +19,7 @@ public class BusinessTripInterfaceApi implements API { ...@@ -19,7 +19,7 @@ public class BusinessTripInterfaceApi implements API {
@Value("${oa.url}") @Value("${oa.url}")
private String url; private String url;
// private String url = "https://b02ba329-ac3e-4144-a744-25abca96b290.mock.pstmn.io/"; // private String url = "http://test.qywx.kingsware.cn";
private Map<String, String> hreader = new HashMap<>(); private Map<String, String> hreader = new HashMap<>();
......
package org.jeecg.modules.iost.API.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@Data
@TableName("LQKJ_t_IMSSync_Details")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "对象", description = "Ims同步记录")
public class LQKJ_t_IMSSyncDetailsTest implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 实体主键:FID
* 同步记录数据内码:F_LQKJ_SyncDataId
* 同步记录表单:F_LQKJ_Syncbill
* 同步日期:F_LQKJ_SyndDatetime
* 创建人:FCreatorId
* 修改人:FModifierId
* 创建日期:FCreateDate
* 修改日期:FModifyDate
* 同步:F_LQKJ_SyncCheck
*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private String Fid;//实体主键
@ApiModelProperty(value = "同步记录数据内码")
private String fLqkjSyncdataid;//F_LQKJ_SyncDataId
@ApiModelProperty(value = "同步记录表单")
private String fLqkjSyncbill;//F_LQKJ_Syncbill
@ApiModelProperty(value = "同步")
private Integer fLqkjSynccheck;//F_LQKJ_SyncCheck
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private Date createtime;
}
...@@ -33,16 +33,17 @@ import java.util.*; ...@@ -33,16 +33,17 @@ import java.util.*;
@Service @Service
public class ToolsTest { public class ToolsTest {
static String K3CloudURL = "http://116.62.129.2/K3Cloud/"; // static String K3CloudURL = "http://116.62.129.2/K3Cloud/";
static String dbId = "5b39dffef11ed4"; // static String dbId = "5b39dffef11ed4";
static String uid = "administrator"; // static String uid = "administrator";
static String pwd = "4009965012@lwkb"; // static String pwd = "4009965012@lwkb";
static int lang = 2052;
// static String K3CloudURL = "https://cwxt.kingsware.cn:8090/k3cloud/";//指定地址
// static String dbId = "613ef0b02c911d";
// static String uid = "kingdee";
// static String pwd = "123456";
// static int lang = 2052; // static int lang = 2052;
static String K3CloudURL = "https://cwxt.kingsware.cn:8090/k3cloud/";//指定地址
// static String dbId = "613ef0b02c911d";//测试环境数据中心
static String dbId = "6017c3fce822bf";//正式环境数据中心
static String uid = "kingdee";
static String pwd = "123456";
static int lang = 2052;
// static String K3CloudURL = "http://192.168.2.243/k3cloud/";//指定地址 // static String K3CloudURL = "http://192.168.2.243/k3cloud/";//指定地址
// static String dbId = "6136b7c51f0e4f"; // static String dbId = "6136b7c51f0e4f";
// static String uid = "Administrator"; // static String uid = "Administrator";
...@@ -90,7 +91,11 @@ public class ToolsTest { ...@@ -90,7 +91,11 @@ public class ToolsTest {
//sucess 为验签成功失败标志 true代码验签成功,false代表失败 //sucess 为验签成功失败标志 true代码验签成功,false代表失败
// System.out.println(new JSONObject(securityResp).toStringPretty()); // System.out.println(new JSONObject(securityResp).toStringPretty());
} }
@Test
public void sdad() throws Exception {
Boolean result = client.login(dbId, uid, pwd, lang);
System.out.println(result);
}
@Test @Test
public void request() { public void request() {
List<Map<String, Object>> lists = new ArrayList<Map<String, Object>>(); List<Map<String, Object>> lists = new ArrayList<Map<String, Object>>();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论