作者 王晓刚
1 个管道 的构建 通过 耗费 2 秒

"请选择"问题

... ... @@ -36,6 +36,7 @@ class SubjoinInsuranceModel extends Model
->join('cmf_order o','o_i.order_id = o.id')
->where($where)
->whereOr($whereor)
->order('c.create_time','desc')
// ->fetchSql()
->select()->toArray();
$new_data = [];
... ...
... ... @@ -200,6 +200,7 @@ class HomeBaseController extends BaseController
public function number(){
$user_count = Db::name('user')->where('user_type',2)->count();
echo $user_count;
if(count(str_split($user_count))+1>99999){
return 99999;
}
... ... @@ -210,7 +211,7 @@ class HomeBaseController extends BaseController
$result .= "0";
}
$result = $result.($user_count+1);
return $result;
echo $result;
}
public function template($templateId,$data,$url=null,$openid){
$options=config('wechat_config');
... ...