songxingwei 2 years ago
parent
commit
addc17a460
1 changed files with 8 additions and 0 deletions
  1. 8 0
      app/data/controller/api/auth/Center.php

+ 8 - 0
app/data/controller/api/auth/Center.php

@@ -1655,6 +1655,14 @@ class Center extends Auth
         $templateProcessor = new TemplateProcessor($dir.'/wxdd.docx');
         $templateProcessor->setValue('order_no','1234');
         $templateProcessor->setValue('date','2023-02-20 15:05:50');
+        $templateProcessor->setValue('fbz','张三');
+        $templateProcessor->setValue('jdf','李四');
+        $templateProcessor->setValue('fbzphone','15800000000');
+        $templateProcessor->setValue('jdfphone','15800000001');
+        $templateProcessor->setValue('address','藕粉色大后方胡搜凤凰山佛山房');
+        $templateProcessor->setValue('time','2023-02-20 15:10:00');
+        $templateProcessor->setValue('desc','维修单维修单');
+        $templateProcessor->setValue('price','100');
         $templateProcessor->saveAs($dir."b.docx");
     }