提交代码
This commit is contained in:
parent
423d983e09
commit
21b84cd76d
|
|
@ -35,7 +35,11 @@
|
|||
<label class="layui-form-label">卡等级图标</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="hidden" name="imgurl" value="{$info.imgurl}" lay-verify="required" placeholder="请上传图片" autocomplete="off" class="layui-input" >
|
||||
{if $info.imgurl}
|
||||
<img style="float:left;width:120px;" class="" id="imgurl" src="{:imageUrl($info.imgurl)}">
|
||||
{else/}
|
||||
<img style="float:left;width:120px;" class="" id="imgurl" src="/static/image/upload.jpg">
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{if $info.special_imgurl}
|
||||
|
|
|
|||
|
|
@ -311,9 +311,9 @@ class Pay extends Base
|
|||
// 生成新的支付通知URL
|
||||
$notifyUrl = generatePayNotifyUrl($payment_type, $order_type, $user_id, $order_no, $callback_nonce_str);
|
||||
$is_test = $user['istest'];
|
||||
if ($is_test == 2) {
|
||||
$price = 0.01;
|
||||
}
|
||||
// if ($is_test == 2) {
|
||||
// $price = 0.01;
|
||||
// }
|
||||
// 将通知URL和随机字符串保存到order_notify表中
|
||||
Db::name('order_notify')->insert([
|
||||
'order_no' => $order_no,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user