Commit 51a42f63 by LiuJunYi

用户增加新字段,会员价格改为测试价格

parent 83c72bc0
...@@ -48,10 +48,13 @@ ...@@ -48,10 +48,13 @@
<tr> <tr>
<th>ID</th> <th>ID</th>
<th>昵称</th> <th>昵称</th>
<th>姓名</th>
<th>性别</th> <th>性别</th>
<th>联系方式</th> <th>联系方式</th>
<th>所在地</th> <th>所在地</th>
<th>会员</th> <th>会员</th>
<th>微信号</th>
<th>地址</th>
<th>会员到期时间</th> <th>会员到期时间</th>
<th>IP</th> <th>IP</th>
<th>注册时间</th> <th>注册时间</th>
...@@ -64,6 +67,7 @@ ...@@ -64,6 +67,7 @@
<td> <td>
<img src="{$vo.avatar}" onerror="this.src='/static/img/default_avatar.png'" alt="" style="width:40px;margin-right: 5px">{$vo.nickname} <img src="{$vo.avatar}" onerror="this.src='/static/img/default_avatar.png'" alt="" style="width:40px;margin-right: 5px">{$vo.nickname}
</td> </td>
<td>{$vo.name}</td>
<td> <td>
<!--{$vo.gender}--> <!--{$vo.gender}-->
{if condition="$vo.gender == 1"} {if condition="$vo.gender == 1"}
...@@ -83,6 +87,8 @@ ...@@ -83,6 +87,8 @@
非会员 非会员
{/if} {/if}
</td> </td>
<td>{$vo.wx_number}</td>
<td>{$vo.address}</td>
<td> <td>
{if condition="$vo.is_vip == 1"} {if condition="$vo.is_vip == 1"}
{$vo.vip_endtime} {$vo.vip_endtime}
......
...@@ -28,10 +28,10 @@ class Base extends Controller ...@@ -28,10 +28,10 @@ class Base extends Controller
// echo $this->getSignature($params); exit; // echo $this->getSignature($params); exit;
// 验证签名 // 验证签名
// if (!$this->checkSignature($params)) { if (!$this->checkSignature($params)) {
// echo json_encode(["code" => 1, "msg" => "auth failed"]); echo json_encode(["code" => 1, "msg" => "auth failed"]);
// die; die;
// } }
// 用户信息 // 用户信息
if (input('post.token')) { if (input('post.token')) {
......
...@@ -330,7 +330,7 @@ $config = [ ...@@ -330,7 +330,7 @@ $config = [
'wx_pay' => [ 'wx_pay' => [
'notify_url' => 'https://' . Env::get('setting.domain', 'meixz.utools.club') . '/api/Order/callback', 'notify_url' => 'https://' . Env::get('setting.domain', 'meixz.utools.club') . '/api/Order/callback',
'vip_title' => '美行者会员VIP', 'vip_title' => '美行者会员VIP',
'vip_price' => 49.9, 'vip_price' => 0.01,
'app_id' => 'wx1b834552a7d49bb3', 'app_id' => 'wx1b834552a7d49bb3',
'merchant_id' => '1515838821', 'merchant_id' => '1515838821',
'sign_type' => 'MD5', 'sign_type' => 'MD5',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment