|
@@ -83,7 +83,7 @@ public class FilmController extends BaseController {
|
|
|
rootNode.putObject("amount")
|
|
|
.put("total", 1);
|
|
|
rootNode.putObject("payer")
|
|
|
- .put("openid", "oO7PJ5GVKa0c_rfU34yIO0RgfTTg");
|
|
|
+ .put("openid", "oO7PJ5FlradAM7tqw3TM2zvEj4O4");
|
|
|
objectMapper.writeValue(bos, rootNode);
|
|
|
httpPost.setEntity(new StringEntity(bos.toString("UTF-8")));
|
|
|
HttpResponse response = httpClient.execute(httpPost);
|
|
@@ -107,7 +107,7 @@ public class FilmController extends BaseController {
|
|
|
// 用于接收返回的结果
|
|
|
String resultData ="";
|
|
|
try {
|
|
|
- HttpPost post = new HttpPost("http://movieapi2-test.taototo.cn/"+filmDTO.getUrl());
|
|
|
+ HttpPost post = new HttpPost("http://movieapi-test.taototo.cn/"+filmDTO.getUrl());
|
|
|
post.setHeader("Content-Type","application/x-www-form-urlencoded");
|
|
|
Map<String, Object> sortMap = new TreeMap<String, Object>();
|
|
|
String time = String.valueOf(System.currentTimeMillis()/1000);
|