wupengfei 1 year ago
parent
commit
cd81d6a971
2 changed files with 3 additions and 2 deletions
  1. 2 1
      .idea/workspace.xml
  2. 1 1
      application/common.php

+ 2 - 1
.idea/workspace.xml

@@ -3,6 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/common.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -375,7 +376,7 @@
       <workItem from="1689641487273" duration="19876000" />
       <workItem from="1689728218007" duration="5405000" />
       <workItem from="1689813742376" duration="13449000" />
-      <workItem from="1689900489647" duration="6042000" />
+      <workItem from="1689900489647" duration="6168000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/common.php

@@ -415,7 +415,7 @@ function create_qrcode($id,$user_id,$module = 'activity')
     $dir = dirname(realpath(dirname($_SERVER['SCRIPT_FILENAME']))) . '/public/static/'.$module;
     $filename = $dir.'/'.$id.'_'.$user_id.'.png';
     @unlink($filename);
-    $content  = 'https://'.$_SERVER['HTTP_HOST']."/dist/#/activity-detail?id=1&tg_".$id.'_'.$user_id;
+    $content  = 'https://'.$_SERVER['HTTP_HOST']."/dist/#/activity-detail?id=1&tg=".$id.'_'.$user_id;
     $qrCode->setText($content);
     $qrCode->setSize(200);
     $qrCode->writeFile($filename);