public PublicResponse doTrans(PublicRequest publicRequest,String trans){
		PublicResponse publicResponse = new PublicResponse();
		try {
			String accessParams = "access_key_id="+this.accessKeyid+"&action="+trans+QingUtil.packageDataEncode(publicRequest.generateData());
			String params = QingUtil.sha1Data(accessParams,this.accessPrivateKey,publicRequest.getSignature_method());
			System.out.println("发送："+this.qingUrl+"?"+params);
			String result = HttpService.sendService(this.qingUrl+"?"+params);
			System.out.println("接收："+result);
			publicResponse = JSON.parseObject(result,PublicResponse.class,Feature.AllowISO8601DateFormat);
		} catch (QingException qe) {
			qe.printStackTrace();
			publicResponse.setRet_code("100001");//api默认错误码
			publicResponse.setMessage(qe.getMessage());
			return publicResponse;
		} catch (NoSuchFieldException nsfe) {
			publicResponse.setRet_code("100001");//api默认错误码
			publicResponse.setMessage(nsfe.getMessage());
			return publicResponse;
		} catch (Exception e) {
			e.printStackTrace();
			publicResponse.setRet_code("100001");//api默认错误码
			publicResponse.setMessage(e.getMessage());
			return publicResponse;
		}
		return publicResponse;
	}