feat: 完善
parent
701ce5fd9a
commit
a2bb594a15
|
@ -144,6 +144,11 @@ class OrderLogic extends Logic
|
|||
$where[] = ['o.is_frontend', '=', $get['is_frontend']];
|
||||
}
|
||||
|
||||
// 第三方api订单
|
||||
if (isset($get['is_api']) && $get['is_api'] != '') {
|
||||
$where[] = ['o.is_api', '=', $get['is_api']];
|
||||
}
|
||||
|
||||
//订单来源
|
||||
if (isset($get['order_source']) && $get['order_source'] != '') {
|
||||
$where[] = ['o.order_source', '=', $get['order_source']];
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
<p>*会员商城下单列表。</p>
|
||||
<p>*订单状态有待付款,待发货,待收货,已完成,已关闭。</p>
|
||||
<p>*待付款订单取消后则为已关闭。待付款订单支付后则为待发货。待发货订单发货后则为待收货。待收货订单收货后则为已完成。</p>
|
||||
<p>*API订单表示是第三方团队通过API生成的订单</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -142,6 +143,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">API订单:</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="is_api" id="is_api">
|
||||
<option value="">全部</option>
|
||||
<option value="0">否</option>
|
||||
<option value="1">是</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="layui-row">
|
||||
|
|
|
@ -29,7 +29,7 @@ class Client_
|
|||
const android = 4;
|
||||
const pc = 5;
|
||||
const h5 = 6;//h5(非微信环境h5)
|
||||
const api = 8;//api请求 也算是pc
|
||||
const api = 8;//api请求 也算是pc 开放接口给第三方,创建而来的订单
|
||||
|
||||
function getName($value)
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ class Client_
|
|||
self::mnp => '小程序商城',
|
||||
self::ios => '苹果APP商城',
|
||||
self::android => '安卓APP商城',
|
||||
self::api => 'API商城',
|
||||
self::api => 'API创建',
|
||||
];
|
||||
if ($type === true) {
|
||||
return $desc;
|
||||
|
|
Loading…
Reference in New Issue