作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

意见修改

... ... @@ -165,7 +165,7 @@ class AdminLightOrderController extends AdminBaseController
->join('temple t','l.temple_id=t.id')
->join('temple_area ta','l.area_id=ta.id')
->where('lo.id',$id)
->field('lo.*,l.*,u.mobile,u.user_name,t.name as tname,ta.name as taname,lo.name as loname')
->field('lo.*,l.*,u.mobile,u.user_name,t.name as tname,ta.name as taname,lo.name as loname,lo.id as loid')
->find();
$address = Db::name('temple')->where($where)->field('address')->distinct('true')->select();
... ... @@ -195,13 +195,10 @@ class AdminLightOrderController extends AdminBaseController
public function editPost()
{
$param = $this->request->param();
var_dump($param['content']);
var_dump($param['id']);
exit();
$param['create_time'] = time();
Db::name('light_order')->where('id', $param['id'])->update($param);
// $lightService= new service\LightService();
// $lightService->lightChange($param['light_id'],'01','01',$param['name']);
$lightService= new service\LightService();
$lightService->lightChange($param['light_id'],'01','01',$param['name'],$param['content']);
$this->success('编辑成功');
}
... ...
... ... @@ -24,7 +24,7 @@
<tr>
<th>订单编号<span class="form-required">*</span></th>
<td>
<input value="{$list.id}" name="id" hidden>
<input value="{$list.loid}" name="id" hidden>
<input class="form-control" type="text" name="order_sn"
id="order_sn" required value="{$list.order_sn}" disabled/>
</td>
... ...