| | |
| | | import java.util.Iterator; |
| | | import java.util.Map; |
| | | |
| | | import com.google.gson.Gson; |
| | | import com.taobao.api.internal.util.StringUtils; |
| | | import com.yeshi.common.entity.taobao.TaoKeAppInfo; |
| | | import com.yeshi.fanli.exception.taobao.TaoKeApiException; |
| | |
| | | if (!StringUtil.isNullOrEmpty(app.getAdzoneId())) |
| | | params.put("adzone_id", app.getAdzoneId()); |
| | | params.put("sign", getSign(params, "md5", app).toUpperCase()); |
| | | |
| | | System.out.println(new Gson().toJson(params)); |
| | | |
| | | String result = TaoBaoHttpUtil.taoKeGet(params); |
| | | JSONObject data = JSONObject.fromObject(result); |
| | | if (data != null) { |