Contact Information: To prevent loss, please remember this website: dajian168.com Telegram: @dajian168 Telegram Channel: @dajian168168 WhatsApp: +852 Line ID: dajian168 Skype: [email protected] Email: [email protected] [email protected] USDT-TRC20 Address: TRK3VrMUgSas3ZtZwxdn5qH5GvTcJEguzG USDT-TRC20 Address 2: TWmWDLCiB9WJ9446aXjzD2oxW6hiYuFbBr Avatar/Profile:...
- About Us
- 2024-06-29
- 1165
Huobi Digital Currency API latency is very high, causing K-line lag issues. Solutions: 1. Upgrade to high-config server 2. Switch to Binance API 3. Use Huobi API proxy/mirror # K-line Data API https://api.binance.com/api/v3/klines?symbol=BTCUSDT&interval=1d&limit=200 # Advantages: – Fast response speed – Completely free – Stable and reliable – Similar data format # K-line Data API https://www.okx.com/api/v5/market/candles?instId=BTC-USDT&bar=1D # Advantages: – Fast access from China – Free to use – Real-time data # Market Data API https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usdt&days=200&interval=daily # Advantages: – No registration required – Large free quota – Comprehensive data # Historical K-line Data https://min-api.cryptocompare.com/data/v2/histoday?fsym=BTC&tsym=USDT&limit=200 # Advantages: – Fast response – Basic features are free – Accurate data *************** public function getkdata() { $pid = $this->app->request->param(‘pid’); if(!$pid) $this->error(‘Product ID cannot be empty’); $num = $this->app->request->param(‘num’, 30); if(!$num) $this->error(‘Time cannot be empty’); $pro = Db::name(‘LcProduct’)->where([‘id’=>$pid])->find(); if(!$pro) $this->error(‘Product information abnormal’); $interval = input(‘interval’,’1′); $klength = ($interval == ‘d’) ? 24*60*60*$num : $interval*60*$num; $k_map[‘pid’] = $pid; $k_map[‘ktime’] = array(‘between’, array(time() – $klength, time())); $pro[‘procode’] = $pro[‘code’]; if(strpos($pro[‘procode’], ‘btc’)!==false || strpos($pro[‘procode’], ‘usdt’)!==false) { // Convert to Binance time interval format switch ($interval) { case ‘1’: $binance_interval = ‘1m’; break; case ‘5’: $binance_interval = ‘5m’; break; case ’15’: $binance_interval = ’15m’; break; case ’30’: $binance_interval = ’30m’; break;......
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2025-04-06
- 699
About a vue project that kept reporting the error ‘vue-cli-service’ is not an internal or external command, nor a runnable program. Delete node_modules in the vue project folder and then reinstall from scratch....
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2025-04-05
- 50817
A TikTok order program modification where the frontend doesn’t reflect the changes. FastAdmin development – need to click “Clear Cache” here after every modification. It seems the configuration file update isn’t taking effect. This might be due to ThinkPHP’s configuration cache. Let’s solve it through the following steps: First, confirm the configuration file location and content are correctly modified: “`php // In application/config.php or config/config.php return [ ‘recharge_money_list’ => ‘3610/5000/10000/30000/50000/100000’, // Other configurations… ]; “` Force update the configuration in the controller: “`php public function recharge() { // Force set new configuration \think\Config::set(‘recharge_money_list’, ‘3610/5000/10000/30000/50000/100000’); // Clear cache \think\Cache::clear(); // Print to check configuration dump(config(‘recharge_money_list’)); // Original code… $uid = session(‘user_id’); $this->userInfo = $userInfo = Db::name(‘xy_users’)->where(‘id’, $uid)->field(‘tel,balance,level,all_recharge_num’)->find(); // …other code } “` Or directly override the configuration in the controller: “`php public function recharge() { $money_list = ‘3610/5000/10000/30000/50000/100000’; $list = explode(‘/’, $money_list); $this->assign(‘list’, $list); // Original code… $uid = session(‘user_id’); $this->userInfo = $userInfo = Db::name(‘xy_users’)->where(‘id’, $uid)->field(‘tel,balance,level,all_recharge_num’)->find(); // … } “` If it still doesn’t work, you can try: – Delete cache files under the runtime directory – Restart the PHP service – Check if there are other places overriding this configuration In the template, you can first print to check the......
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2025-03-12
- 938
Record of a Cross-Domain Problem, Micro Disk Frontend uniapp, Backend thinkphp The frontend connects to the API and also uses CDN. I copied solutions from the internet and consulted various AIs. CDN settings: Response header: Access-Control-Allow-Origin Value: * This didn’t work. Modified the Nginx website configuration file in BT panel: add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods ‘GET,POST’; add_header Access-Control-Allow-Headers ‘DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization’; This also didn’t work. Finally discovered it was because the domain name was too long. You can all try the methods above once. 2025.4.5 Put the compiled frontend and backend in the same directory. The frontend src can be set to an absolute path: /...
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2025-03-12
- 522
This is a sample post created to test the basic formatting features of the WordPress CMS. Subheading Level 2 You can use bold text , italic text , and combine both styles . Bullet list item #1 Item with bold emphasis And a link: official WordPress site Step one Step two Step three This content is only for demonstration purposes. Feel free to edit or delete it....
- Development Case Studies
- 2024-12-31
- 260
A problem where the Laravel framework program could not read the contents of .env. Spent two nights finding the cause, really killed me. Laravel cannot display env(‘APP_URL’) Laravel cannot read the contents of .env The frontend compiled by VEU opens and jumps to /null after one second It’s the Laravel backend API issue Give .env permission 755 php artisan config:clear php artisan cache:clear php artisan config:cache if (count($notice)) { $bannerlist = []; foreach ($notice as $val) { $bannerlist[] = [ ‘src’ => env(‘APP_URL’) . ‘/uploads/’ . $val[‘src’], ‘background’ => ‘#f4f6ff’, ‘url’ => $val[‘jump_url’] ]; } } return $this->returnMsg(200, $bannerlist); The env(‘APP_URL’) in this code is not displaying. The database password in .env should not contain any symbols....
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2024-11-25
- 11469
1. Install Python, choose version 3.8 or higher 【Official Link】 Welcome to Python.org 2. Install PyTorch, download directly from the official website 【Official Link】 Start Locally | PyTorch, if your GPU doesn’t support CUDA, please choose the default option. If you don’t have a graphics card, choose CPU. 3. Install ffmpeg 【Download Link】 Download FFmpeg, after downloading, add the bin directory path to the system variable. See video tutorial. 4. Download MockingBird 【Open Source Project】 babysor/MockingBird: 5. Install the remaining required environment packages in the terminal: python -m pip install –upgrade pip pip install -r requirements.txt pip install webrtcvad-wheels 6. Download the language model, or use a model you trained yourself Author download link Effect preview Author https://pan.baidu.com/s/1iONvRxmkI-t1nHqxKytY3g Baidu Cloud link 4j5d75k steps Trained using 3 open-source datasets mixed together Author https://pan.baidu.com/s/1fMh9IlgKJlL2PIiRTYDUvw Baidu Cloud link Extraction code: om7f25k steps Trained using 3 open-source datasets mixed together, switch to tag v0.0.1 to use @FawenYo https://drive.google.com/file/d/1H-YGOUHpmqKxJ9FRc6vAjPuqQki24UbC/view?usp=sharing Baidu Cloud link Extraction code: 1024 input output 200k steps Taiwanese accent, need to switch to tag v0.0.1 to use @Miven https://pan.baidu.com/s/1PI-hM3sn5wbeChRryX-RCQ Extraction code: 2021 150k steps Note: Fix according to issue and switch to tag v0.0.1 to use 7. After downloading the model, make sure......
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2024-08-09
- 514
Java Comprehensive Exchange Source Code, Stock Trading System, Forex Platform Source Code, Frontend Vue Source Code Full Open Source Code for Comprehensive Exchange, including funds, stocks, forex, virtual currency trading, mining, etc., as well as C2C trading. Other stocks require paid integration. Looks quite good. Backend Java pure open source code, frontend Vue pure source code, can be used for secondary development, with very high value. Backend: Super Admin: root Login Password: 123456 Transaction Verification: 123456 Google Verification: OFSGV4RPZXOJY4GL (Default Key)...
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2024-08-05
- 513
uniapp source code instant messaging system, IM social dating platform, mobile chat APP, audio/video fix (official team plugin, no secondary fees), file sending, announcements, check-in, discovery page, Moments post deletion, polling customer service, alternate accounts, etc. Can embed third-party web links, backend addition, #im #chat software #communication software #chat app setup (Telegram @dajian168)...
- Development Case Studies, Tech Insights, Website Building Tutorials
- 2024-07-29
- 464