存档

11月 2021

显示总共32条中的前2条

flutter dio post 301 Moved Permanently
发布者 : 粮油菜大市场 发布时间 : 13 Nov 2021 15:35:26

flutter dio post 301 Moved Permanently

不知道是什么错误,其他方式测试post没问题

solved :  for i have write a http api url   "const String appApiUrl = 'http://www.lxxx/api';

 

after change the right https api url ,it will work ok

it will forward to https url

although i have add followRedirects: true, in dio option ,but it didn't work 

yii3 No definition or class found or resolvable for Cycle\ORM\Select while building
发布者 : 粮油菜大市场 发布时间 : 13 Nov 2021 08:30:57

No definition or class found or resolvable for Cycle\ORM\Select while building App\xxx\Api\Controller\MerchantSignup\MerchantSignupController -> App\xxx\Admin\Api\Controller\MerchantSignup\MerchantSignupService -> App\xxx\MerchantPackage\MerchantPackageRepository -> Cycle\ORM\Select.

话说yii3报错信息这么多,有用的真不多,这么多信息约等于Error~

提示找不到这个Cycle\ORM\Select.类,找了大半天,最后发现是实体

MerchantPackage上声明的Repository不正确,哎