rkljw 23 цаг өмнө
parent
commit
d5817b5ede

+ 3 - 3
app/JsonRpc/AdService.php

@@ -271,14 +271,14 @@ class AdService implements AdServiceInterface
                         [
                             'website_id'=>$val['website_id'],
                             'typeid'=>$val['typeid'],
-                            'status'=>2,
+                            'status'=>1,
                             'name'=>$val['name']??'',
                             'thumb'=>$val['thumb']??'',
-                            'introduce'=>$val['introduce']??'',
                             'code'=>$val['code']??'',
-                            'price'=>0,
                             'ad_size_id'=>$adSizeInfo->id,
                             'ad_tag'=>$val['ad_tag']??'',
+                            'introduce'=>$val['introduce']??'',
+                            'price'=>$val['price']??0,
                         ]
                     );
                 }