wupengfei 2 年之前
父节点
当前提交
2ace8b4a07
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      application/api/controller/General.php
  2. 2 2
      application/store/view/convert/form.html

+ 1 - 1
application/api/controller/General.php

@@ -367,7 +367,7 @@ class General extends Base
      */
     public function getIntegralConvertDetail()
     {
-        $id = input('post.id');
+        $id = input('get.id');
         $detail = Db::name('integral_convert')->where(['user_id'=>$this->uid,'id'=>$id])->find();
         $this->success('ok',['detail'=>$detail]);
     }

+ 2 - 2
application/store/view/convert/form.html

@@ -5,14 +5,14 @@
         <div class="layui-row margin-bottom-15">
             <label class="layui-col-xs2 think-form-label">用户名:</label>
             <label class="layui-col-xs10">
-                <input  style="background-color: #e6e6e6" readonly value='{$user.name|default=""}' placeholder="" class="layui-input">
+                <input  readonly value='{$user.name|default=""}' placeholder="" class="layui-input">
             </label>
         </div>
 
         <div class="layui-row margin-bottom-15">
             <label class="layui-col-xs2 think-form-label">手机号:</label>
             <label class="layui-col-xs10">
-                <input style="background-color: #e6e6e6" readonly value='{$user.phone|default=""}' placeholder="" class="layui-input">
+                <input  readonly value='{$user.phone|default=""}' placeholder="" class="layui-input">
             </label>
         </div>