search

Home  >  Q&A  >  body text

tp6+vue solves the statistical order number

//Homepage statistics

private function getCardData(){

      $card_data = [   //Header statistics

                                                                           title_icon'=>"el-icon-chat-line-square",

        'card_title'=> "After-sales",

            'card_cycle'=> "日",

                    'card_cycle_back_color'=> "#409EFF",

            'bottom_title'=> "Total amount",

              'vist_num'=> rand(0,100000 ;

## ];

return $card_data;

}

SELECT COUNT(shouhou_id) FROM cd_shouhou

tp6 Want to count the number of after-sales orders? How should we write on this basis to achieve it?

手机用户1607107778手机用户1607107778906 days ago871

reply all(0)I'll reply

No reply
  • Cancelreply