
###登录
POST {{baseUrl}}/login/login
Content-Type: application/json

{
  "loginName": "admin",
  "password": "admin",
  "securityCode": "8888"
}

> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}



###首页
POST {{baseUrl}}/login/index
Authorization: {{authToken}}
Content-Type: application/json

{}


###合成模板数据
POST {{baseUrl}}/doc/baseinfo/mergeFormToDocx
Authorization: {{authToken}}
Content-Type: application/json

{
  "deleted": 0,
  "formContent": "{\"i_1_标题\":\"测试标题\",\"date_1_会议时间\":\"2022 年 09 月 24 日\",\"i_1_会议地点\":\"人民北路\",\"dt_1_汇报\":[{\"汇报_i_1_汇报人\":\"张三\",\"汇报_date_1_汇报时间\":\"\",\"汇报_t_1_汇报内容\":\"今天出去吃饭了\",\"index\":0},{\"汇报_i_1_汇报人\":\"李四\",\"汇报_date_1_汇报时间\":\"\",\"汇报_t_1_汇报内容\":\"今天去拜访客户了\",\"index\":1}],\"i_1_记录人\":\"王五\",\"ck_1_政治面貌_<党员-非党员-党员先锋岗>\":[\"党员\"],\"r_1_证件类型_<身份证-军官证-残疾证>\":\"身份证\",\"s_1_设备类型_<呼叫器-窗口屏-评价器>\":\"窗口屏\",\"@image_1_照片\":\"/file/uploadfile/1663833519018.jpg\"}",
  "templateId": 1
}


###站点树
GET {{baseUrl}}/site/siteTree
Authorization: {{authToken}}
Content-Type: application/json

{}


###短信设置编辑
GET {{baseUrl}}/sms/set/edit?id={{SmsSet_id}}
Accept: application/json


###短信设置删除
GET {{baseUrl}}/sms/set/delete?id={{SmsSet_id}}
Accept: application/json




