wupengfei 2 年之前
父节点
当前提交
d67ecf1fce
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .idea/workspace.xml
  2. 1 1
      application/operate/controller/Recruit.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/operate/view/recruit/form2.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/recruit/form2.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/operate/controller/Recruit.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/Recruit.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -204,7 +204,7 @@
       <workItem from="1670719843429" duration="8446000" />
       <workItem from="1670807412269" duration="9728000" />
       <workItem from="1671065604459" duration="7662000" />
-      <workItem from="1671152221434" duration="2185000" />
+      <workItem from="1671152221434" duration="2646000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/operate/controller/Recruit.php

@@ -109,7 +109,7 @@ class Recruit extends Controller
         if($this->request->isPost())
         {
             list($post,$ladder_data) = [$this->request->post(),[]];
-            if(!$data['longitude'] || !$data['latitude']) $this->error('请选择地图位置');
+            if(!$data['longitude'] || !$data['latitude']) $this->error('请选择地图坐标');
             if(!empty($post['user_phone'])) {
                 $user_id = User::where('phone|email',$post['user_phone'])->value('id');
                 if(!$user_id) $this->error('账号未注册');