Commit d9f2efc4 authored by 赵啸非's avatar 赵啸非

添加应用主题

parent c1216348
......@@ -62,16 +62,16 @@ import java.util.stream.Collectors;
@Slf4j
public class MidSignApiController {
@Value("${mid.midUrl:http://172.15.28.117:9000}")
@Value("${mid.midUrl:http://218.89.178.192:9092/masm_agent/api}")
private String midUrl;
@Value("${mid.appId:01C67D56D0630517}")
@Value("${mid.appId:95EB01381DE76FD6}")
private String appId;
@Value("${mid.appKey:a0b946c858aa8d06}")
@Value("${mid.appKey:4d5567ccb6994368}")
private String appKey;
@Value("${mid.secretKey:ad80c59e575a78ab}")
@Value("${mid.secretKey:60810bc9416736a5}")
private String secretKey;
@PostMapping(value = "sign")
......@@ -157,6 +157,10 @@ public class MidSignApiController {
headerMap.put(entry.getKey(), entry.getValue());
}
}*/
}else{
//默认post
JSONObject object1 = JSONObject.parseObject(midReq.getBody());
headerMap.put("body", object1.toJSONString());
}
signSb.append("appId").append("=").append(headerMap.get("appId")).append("&");
......
......@@ -110,4 +110,8 @@ public class AppVersionServiceImpl extends AbstractCRUDServiceImpl<AppVersionDao
appService.getAppDao().update(appEntity);
return Rest.ok("使用应用成功!");
}
public static void main(String[] args) {
//写一个循环1到10
}
}
\ No newline at end of file
......@@ -43,7 +43,7 @@ POST {{baseUrl}}/dept/getBusinessByDept
Content-Type: application/json
{
"idList":[450,451]
"idList":[426]
}
###部门查看
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment