Commit 51a42f63 by LiuJunYi

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

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