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

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +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/api/controller/Activity.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Activity.php" 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" />
@@ -376,7 +376,7 @@
       <workItem from="1689641487273" duration="19876000" />
       <workItem from="1689728218007" duration="5405000" />
       <workItem from="1689813742376" duration="13449000" />
-      <workItem from="1689900489647" duration="4251000" />
+      <workItem from="1689900489647" duration="4895000" />
     </task>
     <servers />
   </component>

+ 2 - 1
application/common.php

@@ -412,7 +412,8 @@ function dispose_recommend($list,$needle= 'is_recommend')
 function create_qrcode($id,$user_id,$module = 'activity')
 {
     $qrCode= new \Endroid\QrCode\QrCode();
-    $qrCode->setText($id.'_'.$user_id);
+    $content  = "https://ceshi.gyxqcdz.com/dist/#/activity-detail?id=1&tg_".$id.'_'.$user_id;
+    $qrCode->setText($content);
     $qrCode->setSize(200);
     $dir = dirname(realpath(dirname($_SERVER['SCRIPT_FILENAME']))) . '/public/static/'.$module;
     $filename = $dir.'/'.$id.'_'.$user_id.'.png';