xiao-xx hace 1 año
padre
commit
7372d7d942

+ 1 - 1
yinet-admin/src/main/java/com/yinet/web/controller/rlzy/RlzyApplyPrintController.java

@@ -34,7 +34,7 @@ public class RlzyApplyPrintController extends BaseController {
     private ISelfServiceService selfServiceService;
 
 
-    private static  final String TEMPLATE_ID="9b9345770988dec4089eb1cc636af3e5";
+    private static  final String TEMPLATE_ID="ddcf414aee3efcaaa4a4a6788c03045a";
 
     @GetMapping("/secound/{type}")
     public String liucheng(@PathVariable String type,ModelMap mmap){

+ 3 - 3
yinet-admin/src/main/resources/application.yml

@@ -165,6 +165,6 @@ python:
 saomiao:
   der: E
 baiducloud:
-  appid: 28412951
-  apikey: 916dsWFfvBOndaN3Tx64rqOf
-  secretkey: EjK5krRRLCs3zU6FXBVFZYq28BnHutch
+  appid: 28297291
+  apikey: hDHBt5BAbTa6jicsdS25bOcE
+  secretkey: mPzwPfBQbH1bmovIx8DywbGLlimrZWO7

+ 5 - 1
yinet-admin/src/main/resources/templates/rlzy/print/apply.html

@@ -573,6 +573,10 @@
                 console.log(res)
                 $.modal.closeLoading()
                 if(res.code=="0"){
+                    $("#input[name='name']").val()
+                    $("#input[name='creditCode']").val()
+                    $("#input[name='legalName']").val()
+                    $("#input[name='servicePlace']").val()
                     $("#content1").show()
                     $("#content2").hide()
                 }
@@ -583,7 +587,7 @@
             },
             error:function(){
                 $.modal.closeLoading()
-                alert("智能识别错误,请重新放置营业执照并拍照")
+                alert("智能识别错误,请放置营业执照并拍照")
                 cl_openidA4photos(0, 1);
             }