songxingwei 2 years ago
parent
commit
c0d520a12f
2 changed files with 7 additions and 1 deletions
  1. 7 1
      app/common.php
  2. BIN
      public/cgdd.docx

+ 7 - 1
app/common.php

@@ -211,7 +211,13 @@ function setword($type,$id){
             dump($info->toArray());
             die;
             $array = [
-                'order_no'=>''
+                'order_no'=>$info['main']['order_no'],
+                'date'=>date('Y-m-d',strtotime($info['main']['post_time'])),
+                'shopname'=>$info['main']['merchant']['name'],
+                'mfname'=>$info['main']['merchant']['contact_name'],
+                'mfphone'=>$info['main']['merchant']['contact_phone'],
+                'mmfname'=>$info['main']['ppoffer']['user']['nickname'],
+                'mmfphone'=>$info['main']['ppoffer']['user']['phone']
             ];
             break;
         case 3:

BIN
public/cgdd.docx