This commit is contained in:
qiuqiu 2025-05-29 18:32:30 +08:00
parent 11ec0875b7
commit 71ddd4110e
27 changed files with 209 additions and 12 deletions

8
.idea/workspace.xml generated
View File

@ -8,10 +8,11 @@
<component name="ChangeListManager">
<list default="true" id="fec10672-acda-4616-894b-a4b6f93aea6f" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/go技术栈 参考.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/go技术栈 参考.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/工作占比.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/工作占比.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/广告变现 临时记录.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/广告变现 临时记录.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/amplitude试验.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/amplitude试验.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/slot业务逻辑 临时记录_第二章.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/slot业务逻辑 临时记录_第二章.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/日志分析系统 临时记录.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/日志分析系统 临时记录.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_28_星期三.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_28_星期三.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_29_星期四.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_29_星期四.md" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -77,6 +78,7 @@
<workItem from="1748230143239" duration="1208000" />
<workItem from="1748244938875" duration="1213000" />
<workItem from="1748303566401" duration="1810000" />
<workItem from="1748481304776" duration="1527000" />
</task>
<task id="LOCAL-00001" summary="测试提交">
<created>1742956649478</created>

View File

@ -0,0 +1,60 @@
#javascript
**PowerShell 的执行策略Execution Policy** 会限制了脚本的运行。
如果要修改的话,是需要管理员运行,去设置
![[Pasted image 20250529182632.png]]
运行以下命令,将执行策略设为 `RemoteSigned`(允许本地脚本运行):
``` shell
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
```
如果提示是否确认更改,输入 `Y` 并回车。
![[Pasted image 20250529183103.png]]
修改后,如果要修改回,默认的禁用配置:
### **方法 1恢复为默认限制策略Restricted**
运行以下命令,将执行策略重置为 `Restricted`(禁止所有脚本运行):
``` shell
Set-ExecutionPolicy Restricted -Scope CurrentUser
```
- 需要 **管理员权限**(以管理员身份运行 PowerShell
- 输入 `Y` 确认更改。
### **方法 2恢复为系统默认策略Undefined**
如果希望当前用户的策略继承系统默认(通常是 `Restricted`),可以设置为 `Undefined`
``` shell
Set-ExecutionPolicy Undefined -Scope CurrentUser
```
### **方法 3仅查看当前策略不修改**
如果想查看当前生效的执行策略,运行:
``` shell
Get-ExecutionPolicy -List
```
输出示例:
``` shell
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser RemoteSigned
LocalMachine Undefined
```
![[Pasted image 20250529183003.png]]

View File

@ -16,4 +16,8 @@ API Key `862ce068a08760d154b0a8500b2aa135`
点击就可以分别显示出俩项目相关的key主要使用到的是API Key
![[Pasted image 20240929104212.png]]
![[Pasted image 20240929104212.png]]
DAU说明
https://amplitude.com/glossary/terms/daily-active-users-dau

View File

@ -0,0 +1,56 @@
#javascript
首先可以安装一下js相关的开发环境也就是nodedjs参考官网链接https://nodejs.org/en
![[Pasted image 20250529171607.png]]
安装过程中,其他都是直接`Next`就ok这个最好勾选一下在安装完Node.js之后也会自动安装很多必要的插件
![[Pasted image 20250529171827.png]]
这是对应这个选项,自动打开的,另一窗口;
![[Pasted image 20250529172359.png]]
安装完成后,直接输入`ENTER`退出即可
![[Pasted image 20250529172448.png]]
![[Pasted image 20250529180605.png]]
cmd控制台可以查看对应的版本号
``` shell
node -v
```
![[Pasted image 20250529180644.png]]
这是vue文件夹如果要构建的话是需要有package.json配置文件其中会包含各项配置信息还有构建工具[[vite build]]相关;
![[Pasted image 20250529181129.png]]
配置文件相关:
![[Pasted image 20250529181908.png]]
最终需要执行的,是`npm run build`命令,但是在执行之前,还是需要执行`npm install` 安装相关的依赖;
![[Pasted image 20250529182044.png]]
跳转到对应这个vue文件夹根目录
``` shell
npm install
```
有可能会遇到报错,参考[[PowerShell 执行策略Execution Policy]]解决即可;
![[Pasted image 20250529182123.png]]
重新执行,就正常了;
![[Pasted image 20250529183143.png]]
也会多出,这个依赖相关的文件夹:
![[Pasted image 20250529183204.png]]

View File

@ -14,4 +14,8 @@
icongamesg.com/PrivacyPolicy.html
icongamesg.com/TermOfService.html
这是谷歌的隐私政策和IOS是不一样的链接需要根据平台跳转不同的链接
```
```
这个活动
![[Pasted image 20250529100318.png]]

View File

@ -0,0 +1,55 @@
#javascript
`vite build` 是使用 [Vite](https://vitejs.dev/)(一个现代化的前端构建工具)进行项目打包的命令,它会将你的前端代码(如 Vue、React、Svelte 或纯 JavaScript/TypeScript 项目)优化并打包成适合生产环境部署的静态文件。
## **`vite build` 的作用**
1. **代码打包**
- 将源代码(如 `.vue``.jsx``.ts` 等)编译、压缩并打包成浏览器可直接运行的 `HTML``CSS``JS` 文件。
- 默认输出到 `dist` 目录。
2. **性能优化**
- **代码分割Code Splitting**:按需加载,减少首屏加载时间。
- **Tree Shaking**:移除未使用的代码,减小打包体积。
- **压缩Minify**:使用 `Terser`JS `ESBuild`CSS压缩代码。
- **预渲染Pre-rendering**(如果配置)。
3. **静态资源处理**
- 图片、字体等资源会被优化并放入 `dist/assets`
- 小文件可能被转成 Base64 内联。
(前提是 `package.json` 的 `scripts` 里配置了 `"build": "vite build"`
### **输出结果**
- 打包后的文件默认生成在 `dist/` 目录:
``` bash
dist/
├── index.html # 入口 HTML
├── assets/
│ ├── main.js # 压缩后的 JS
│ ├── style.css # 压缩后的 CSS
│ └── ... # 其他资源(图片、字体等)
```
![[Pasted image 20250529181651.png]]
## **总结**
- `vite build` 是 Vite 的生产环境打包命令,输出优化后的静态文件。
- 比传统工具(如 Webpack更快适合现代前端项目。
- 可通过 `vite.config.js` 自定义打包行为。
如果你的项目基于 Vite直接运行 `npm run build` 即可生成生产环境代码! 🚀

View File

@ -6,4 +6,10 @@
逻辑的文件夹位置:
![[Pasted image 20250523170336.png]]
![[Pasted image 20250523170336.png]]
这个需求,实际上,不是对日志分析系统,进行修改的,还是基于日志上报系统,进行修改即可;
对应的是这个链接https://creporter.inspiregames.cn:81/
对应的Token令牌是 lg753951
![[Pasted image 20250529100535.png]]

View File

@ -21,7 +21,7 @@
# 今日任务
- [ ] 检查一下 谷歌上架工程,为什么会多出来一个活动
- [x] 检查一下 谷歌上架工程,为什么会多出来一个活动
- [ ] 在slot新加坡机子搭建unity开发环境
- [ ] 查询怎么填写谷歌商品名称
- [ ] 登录谷歌账号填写app信息
@ -29,7 +29,7 @@
- [ ] 完善一下 Adjust中台插件是不能被销毁的
- [x] 写一下 这个月的工作占比
- [x] 完善一下 用户属性的更新
- [ ] 明天记得带手柄和底座去公司
- [x] 明天记得带手柄和底座去公司
---
![[Pasted image 20250528092154.png]]

View File

@ -21,9 +21,19 @@
# 今日任务
- [ ] 记得买一下 索尼的电池和 充电器
- [ ] 记得拷贝林肯律师 第二季
- [ ] 再一起自测一下 用户注册相关Adjust功能
- [x] 记得买一下 索尼的电池和 充电器
- [x] 记得拷贝林肯律师 第二季
- [x] 询问一下 slot 新加坡 unity账号
- [x] 在日志系统的前后端添加ver版本号的查询
- [ ] 在引擎中台 沟通一下 支付方式,是否可以服务端去做和校验
- [x] 在三消项目 加多两条ios的adjust回传
- [ ] 改一下amp中台库的初始化机制
- [ ] 处理一下Slots 消息通知的Time格式错误
- [ ] 今晚回去拍一下 水电表吧
- [ ] 记得今晚修改一下OKR
---
移动端 ios&安卓来源追踪参考https://www.jianshu.com/p/16f1b19d1b45
[[node.js安装和打包vue程序]]
[[vite build]]
[[PowerShell 执行策略Execution Policy]]
# Journal

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB