File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ protected function alipay($gateway, $order)
7878     */ 
7979    protected  function  wechat ($ gateway , $ order )
8080    {
81+         $ openId  => $ this  ->socialiteUserModel ->getSocialiteId (Auth::id (), 'wechat ' );
8182        $ wechatOrder  = [
82-           'open_id '  => $ this -> socialiteUserModel -> getSocialiteId (Auth:: id (),  ' wechat ' ) ,
83+           'open_id '             => $ openId  ,
8384          'out_trade_no '       => $ order ->order_id ,
8485          'body '               => $ order ->name ,
8586          'total_fee '          => $ order ->fee *100 , //=0.01 
@@ -93,7 +94,6 @@ protected function wechat($gateway, $order)
9394          'webOrder '  => $ response ->getCodeUrl (),
9495        ];
9596
96-         dd ($ response ->getData ());
9797        $ builderAsset  = resolve ('builderAsset ' );
9898        $ builderAsset ->config ('wechat ' , $ wechat );
9999        $ builderAsset ->config ('order ' , $ order );
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments