| | |
| | | import javax.servlet.http.HttpSession; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import com.yeshi.fanli.exception.pdd.PDDApiException; |
| | | import com.yeshi.fanli.util.SystemInfoUtil; |
| | | import org.springframework.core.task.TaskExecutor; |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | JSONObject data = new JSONObject(); |
| | | JSONArray array = new JSONArray(); |
| | | |
| | | PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter,"437032"); |
| | | PDDGoodsResult result = null; |
| | | try { |
| | | result = PinDuoDuoApiUtil.searchGoods(pddfilter,"437032"); |
| | | } catch (PDDApiException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | if (result != null) { |
| | | count = result.getTotalCount(); |
| | | Gson gson = JsonUtil.getApiCommonGson(); |