known original data: var data=[ { id: 40, parentId: 31, note: "" }, { id: 20, parentId: 11, note: "" }, { id: 22, parentId: 20, note: "dsadas" }, { id: 12, parentId: null, note: "dsadasads" }, { id: ...
laravel takes more than two seconds to return the result with only one sentence output. the local environment is installed with Docker for Mac. The php7, laravel version is 5.7 . this is the result viewed with debugbar php-fpm ...
for example, I have a string abaafedf { "name ": peter, "jobs ": { "title ": "supervisor ", "age ": 45}} I want to extract the { "name ": peter, "jobs ": { "title ": "supervisor ", "age ": 45}} with the regular. I don t know how to write this...
error The sentry background sees the error There is no active transaction , which occurs in a update method, roughly function update() { $this->db->beginTrans(); try { dosomething(); $this->db->commitTrans(); ...
the server uses Aliyun ECS, to build a lampp environment, and the ssl certificate is downloaded from Tencent Cloud, . From the Internet to find some configuration tutorials, has not been successful. Visit your own website http is normal, https is not no...
problem description Middleware $request- > header ($key) cannot get a value the environmental background of the problems and what methods you have tried lumen was good before, but I don t know why recently tried $request- > headers- > aaa tried...
A list of topics that want to call typeid= 18,26,36,46 . how does DB::query write it? Do not know much about the database, try to be more detailed, thank you ...
public function __call($method, $args) { if (!require_cache("{$this->addonPath}Controller AdminController.class.php")) { E("database"); } $object = Think Think::instance(" A...
access to the official account requires authorization. Can this be crawled? ...
after the user logs in, the user id login ip is encrypted by some algorithms. after encryption, the user token is written to the database and written to the cache (redis) the purpose of writing the cache is that every time the client requests to get t...
now there are data tables as follows data classification table cate_id cate_name pid Commodity list goods_id goods_name cate_id property sheet attr_id attr_name goods_id the requirements are as follows. Originally, attributes can be fou...
MySQL table with the following structure CREATE TABLE `t_article` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `content` varchar(255) NOT NULL COMMENT , `like_count` int(10) unsigned NOT NULL DEFAULT 0 COMMENT , PRIMARY KEY (...
used to use the image address stored in Aliyun oss,mysql, but now the outsourcing has closed down, and the Aliyun account does not know. Now you want to move all the saved pictures to your own Aliyun oss. What s a good idea? ...
An error was reported when uploading pictures under https: Failed to load resource: net::ERR_SSL_BAD_RECORD_MAC_ALERT . There is no problem when uploading some small pictures of several hundred kilos. Once it is greater than 3m, this error will be repo...
after this code is deleted, it will be generated automatically again, and it should be tampered with . ...
how to get click_id? when Wechat put an advertisement on the public platform Recently, I was doing an advertisement for Wechat, and I found that I couldn t get click_id,. I don t know which god had done Wechat s advertisement! Can you give me some adv...
...
...
use PHP multiprocess to listen on multiple rabbitmq queues (php-amqplib used) 2 30 2 0sleep 1 1sleep 2 2 it seems that you have to wait for the main process to generate three child processes and let three child processes execute at the same ...
now a page has two parts with invalid icons up and down, which means to encapsulate it. all define class as item-up,item-down. however, it is found that only the first top icon is invalid, and the second bottom icon is invalid. cannot invalidate each...
from nltk.tokenize.stanford_segmenter import StanfordSegmenter segmenter = StanfordSegmenter (path_to_jar= "E: anaconda StanfordNLTK stanford-segmenter.jar ", java_class="edu.stanford.nlp.ie.crf.CRFClassifier", ...
Local Yii2 framework, https will be redirected through virtual host access the Yii framework configured on the company s computer, and the access is normal. I uploaded the entire frame directory to the remote GIT repository, and then pulled the code ...
Cross-domain request path error occurred after packaging where should I set the path? config index Code: dev: { Paths assetsSubDirectory: static , assetsPublicPath: . , proxyTable: { " api":{ target:"https: www.qqbsma...
wx.request({ url: http: api.map.baidu.com geocoder , data: { location: 22.53901657788418,113.93694993069373 , output: json , key key }, success: function ({ data: res }) { if (res.result) { that.setData({ ...
how to achieve this effect: Click the clear button, you can empty all the Select option boxes, because the values are saved in state, it is easy to simply empty the values, but how can you empty these Select boxes at the same time? ...