Commit d3e9088d authored by shajiaiming's avatar shajiaiming

add return column

parent 40f19e1c
...@@ -97,12 +97,12 @@ class ApplicationBusiness ...@@ -97,12 +97,12 @@ class ApplicationBusiness
$app_cate_Model = CoinAppCate::find(); $app_cate_Model = CoinAppCate::find();
if(array_key_exists('platform_id', $condition)){ if(array_key_exists('platform_id', $condition)){
$query = $app_cate_Model->JoinWith(['application'], false) $query = $app_cate_Model->JoinWith(['application'], false)
->select('cate_id,app_id,name,icon,type,native_url,native_login_url,h5_url,android_url,ios_url,app_store_url,advertise,redirect_type,'.CoinAppCate::tableName().'.sort') ->select('cate_id,app_id,name,icon,type,native_url,native_login_url,h5_url,android_url,ios_url,app_store_url,advertise,redirect_type,open_type_app,'.CoinAppCate::tableName().'.sort')
->where($condition) ->where($condition)
->orderBy(CoinAppCate::tableName().'.sort asc'); ->orderBy(CoinAppCate::tableName().'.sort asc');
} else { } else {
$query = $app_cate_Model->JoinWith(['application'], false) $query = $app_cate_Model->JoinWith(['application'], false)
->select('cate_id,app_id,name,icon,type,native_url,native_login_url,h5_url,android_url,ios_url,app_store_url,advertise,redirect_type,'.CoinAppCate::tableName().'.sort') ->select('cate_id,app_id,name,icon,type,native_url,native_login_url,h5_url,android_url,ios_url,app_store_url,advertise,redirect_type,open_type_app,'.CoinAppCate::tableName().'.sort')
->orderBy(CoinAppCate::tableName().'.sort asc'); ->orderBy(CoinAppCate::tableName().'.sort asc');
} }
......
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