我在发出post请求时收到以下错误:
XMLHttpRequest cannot load http://api.dev/v1/call-rates/base/search. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not
我有一个有两个表的查询。我想将这两个查询合并成一个查询。怎么做?public function actionGroup() $query1 = (new \yii\db\Query())
->select(['lao',new\yii\db\Expression('COUNT(lao)'),'nama_ptgs', new \yii\db\Expression('SUM