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
- 1529
uniapp Version Stock Fund Investment System Investment & Financial Management Fund Frontend: uniapp, Backend: ThinkPHP 1. Real-name authentication unlock 2. Public funds & private funds 3. Real-time data interface from Alibaba Cloud 4. Add favorites/stock watchlist function 5. Risk assessment 6. Open fund account 7. Add Yu’ebao (money market fund) function 8. Add team distribution/referral system #InvestmentFinancialSystem #Investment #FinancialManagement #Stock...
- Latest Updates
- 2025-05-16
- 623
The user wants me to translate this Chinese text about using Clash Meta for Android client to English. I need to translate the text while keeping the structure and placeholders intact. Let me translate this carefully. The text is a tutorial for setting up Clash Meta for Android client. I’ll translate all the Chinese text to English while preserving the HTML structure and image placeholders. Clash Meta for Android Client Tutorial Client Tutorial 1. After downloading and installing Text Tutorial: 1. Make sure Clash Meta for Android is downloaded and installed on your phone. 2. Open this site in your phone browser (Chrome, Edge, Firefox, etc. are recommended. Domestic browsers may block this site) 3. Select “Dashboard” or “My Subscription” in the website backend: 4. Click “One-Click Subscription” -> “Import to Clash Meta for Android: Click to import to Clash Meta Note: If clicking to import Clash doesn’t work, you can use the manual subscription address paste method: Click “Copy Subscription Address” in the website panel, open Clash, click “Profiles” -> “+” in the upper right corner -> “URL” -> click “URL” -> paste and confirm -> click the “Save” icon in the upper right corner.......
- Tech Insights, Website Building Tutorials
- 2025-05-04
- 660
A Vue Development WebSocket/wss Communication Error CLOSED = 1006 CLOSE_ABNORMAL Solution Test file first: “` WebSocket Test Page WebSocket Test Page Connection Control Connect WSS Connect WSSS Connect WSSSS Disconnect Clear Logs Send Message Send Connection Info Not Connected Log Records let ws = null; const logContainer = document.getElementById('logContainer'); const connectionStatus = document.getElementById('connectionStatus'); const disconnectBtn = document.getElementById('disconnectBtn'); function getTimestamp() { return new Date().toLocaleTimeString(); } function log(message, type = 'info') { const timestamp = getTimestamp(); const logEntry = document.createElement('div'); logEntry.innerHTML = `[${timestamp}] ${message}`; logEntry.className = type; logContainer.appendChild(logEntry); logContainer.scrollTop = logContainer.scrollHeight; } function updateConnectionStatus(message, type) { connectionStatus.textContent = message; connectionStatus.className = `status ${type}`; } function connectWS(url) { if (ws) { log('Closing existing connection...', 'info'); ws.close(); } try { log(`Attempting to connect to ${url}...`, 'info'); ws = new WebSocket(url); ws.onopen = function() { log('WebSocket connection successful!', 'success'); updateConnectionStatus('Connected', 'success'); disconnectBtn.disabled = false; }; ws.onclose = function(event) { let reason = 'Unknown reason'; switch (event.code) { case 1000: reason = 'Normal closure'; break; case 1001: reason = 'Server closing or client leaving page'; break; case 1002: reason = 'Protocol error'; break; case 1003: reason = 'Unsupported data type'; break; case 1006: reason = 'Unable to connect to server (possibly network issues or server not......
- Tech Insights
- 2025-04-08
- 924
What is Cross-Origin Cross-origin is a browser-specific concept that refers to JavaScript code accessing sites other than its own origin. For example, if JavaScript code on site A’s webpage requests data from site B, that is cross-origin. For A and B to be considered the same origin, they must have the same protocol (e.g., http and https cannot work together), the same domain name, and the same port number. If you are building apps, mini-programs, or other non-H5 platforms, you will not encounter cross-origin issues. A slight exception is iOS’s WKWebView. In 5+App, or uni-app’s web-view component and renderjs, cross-origin issues can arise due to WKWebView restrictions. For more details, see the special article: https://ask.dcloud.net.cn/article/36348. In uni-app, regular JavaScript code in the App does not run under Webview, so there is no cross-origin issue. Since uni-app uses a standard front-end and back-end separation pattern, when developing H5 applications, if the front-end code and back-end API are not deployed on the same domain server, the browser will report a cross-origin error. # If the Front-end Needs to Call Functions to Connect to UniCloud Cloud Functions In H5 pages, calling functions will be cross-origin. At this time, you need to configure the......
- Tech Insights
- 2025-04-08
- 824
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
- 1077
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
- 54519
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
- 1325
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
- 792
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
- 446
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
- 20752