|  | @@ -12,6 +12,7 @@ import com.fs.common.utils.sign.Md5Utils;
 | 
	
		
			
				|  |  |  import com.fs.store.param.PrescribeParam;
 | 
	
		
			
				|  |  |  import com.fs.store.param.PrescribeV2Param;
 | 
	
		
			
				|  |  |  import com.fs.store.service.IPrescribeService;
 | 
	
		
			
				|  |  | +import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -23,6 +24,7 @@ import java.util.Locale;
 | 
	
		
			
				|  |  |   * 
 | 
	
		
			
				|  |  |   
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  | +@Slf4j
 | 
	
		
			
				|  |  |  @Service
 | 
	
		
			
				|  |  |  public class PrescribeServiceImpl implements IPrescribeService
 | 
	
		
			
				|  |  |  {
 | 
	
	
		
			
				|  | @@ -62,7 +64,7 @@ public class PrescribeServiceImpl implements IPrescribeService
 | 
	
		
			
				|  |  |          //计算签名,计算法为 md5(act_id&manu_id&app_id×tamp),把⼊参act_id、
 | 
	
		
			
				|  |  |          //manu_id、app_id、timestamp四个参数通过&拼接起来,返回MD5加密⼤写字符串
 | 
	
		
			
				|  |  |          param.setSig(Md5Utils.hash(param.getAccessKeyID()+"&"+param.getAccessKeySecret()+"&"+param.getTimestamp()).toUpperCase(Locale.ROOT));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        log.info("开方请求数据:{}", JSON.toJSONString(param.getData()));
 | 
	
		
			
				|  |  |          HttpRequest request = HttpUtil.createPost(fsSysConfig.getPrescribeUrl()).body(JSON.toJSONString(param.getData()));
 | 
	
		
			
				|  |  |          request.header("Content-Type", "application/json;charset=utf-8");
 | 
	
		
			
				|  |  |          request.header("accessKeyID", param.getAccessKeyID());
 |