Write the Code. Change the World.

10月 19

APP 偏多,记录记录申请的证书时间

2022-10-19 类型 Apple Development xr
2022-10-19 类型 Apple Distribution !xr

Id 申请记录

2020-08-18 pro.xiangrong.wallet
2021-02-01 pro.xiangrong.yuepaibao
2022-10-18 pro.xiangrong.xiaoqubao

profiles

2022-10-19 xiaoqubao/yuepaibao

阅读全文 >>

10月 14

https://union.meituan.com/

美团 cps 饿了么 cps
https://blog.csdn.net/m0_56572731/article/details/115391291

https://blog.csdn.net/qq_30287681/article/details/117671281?spm=1001.2101.3001.6650.7&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-7-117671281-blog-115391291.pc_relevant_3mothn_strategy_and_data_recovery&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-7-117671281-blog-115391291.pc_relevant_3mothn_strategy_and_data_recovery&utm_relevant_index=13

联盟列表

https://union.meituan.com/

https://pub.alimama.com/

https://union.jd.com/index

阅读全文 >>

9月 30

使用 laravel 开发项目的时候, artisan 是个好东西。这个好东西是真的好。在做 command 的时候,您可以方便的输出想要的内容在终端上,比如警告,错误,选择等等。这是因为 command 它继承了Command 类,该类使用了 trait Illuminate\Console\Concerns\InteractsWithIO。而它最终实现了 Symfony\Component\Console\Output\OutputInterface 。 Symfony\Component\Console\Output\ConsoleOutput 是 cli output 的源头类。 只要我们做好 Symfony\Component\Console\Output\ConsoleOutput 的文章,不也可以输出吗。

ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR.

来 123, 跟着步骤走起来

# 先生成一个 seeder
php artisan make:seeder TestSeeder

# 在该 seeder 的 run 函数中加入以下代码
    public function run()
    {
        $output = new \Symfony\Component\Console\Output\ConsoleOutput();
        $section = $output->section();
        $section->writeln('人生若只如初见,何事秋风悲画扇');
    }

# 那么开始测试一下
php artisan db:seed --class=TestSeeder

是不是就可以看见你想看见的东东了。当然你可以封装,搞出更多花样。也还有更多命令待使用。

阅读全文 >>

8月 31

做项目的时候,我们经常会用到 index.vue。咋回事呢。行为习惯爱好。比如有这么一个文件 views/home/index.vue, views 是视图根目录,home 是主页目录,index.vue 我习惯性作为目录的首个文件。由于 cli-plugin-eslint 的作用,这样是不行的。得用驼峰或-方式来命名。这样单个字母就不好搞了。不好搞也要搞,不能妥协。

在项目根目录,添加 .eslintrc.js 文件。如果已经有了就修改。主要改成下边这个样子。

// .eslintrc.js
module.exports = {
    root: true,
    env: {
      node: true,
    },
    extends: [
      "plugin:vue/vue3-essential",
      "eslint:recommended"
    ],
    parserOptions: {
      ecmaVersion: 2020,
    },
    rules: {
      "vue/multi-word-component-names": [
        "error",
        {
          ignores: ["index"], //需要忽略的组件名
        },
      ],
    },
  };

然后重新启动就好了。

读读

https://vue3js.cn/es6/

阅读全文 >>

8月 31

git 默认的 log 时间格式不好看,设置一下,转换成中国人方便看的格式。

默认格式: Date: Wed Aug 31 01:46:33 2022 +0000

//修改当前仓库log date格式
git config log.date iso-strict-local

//全局设置log date格式
git config --global log.date iso-strict-local
# 修改之后的日历格式:
# Date:   2018-08-23T17:16:39+08:00

# 或者这样
git config --global log.date format:'%Y-%m-%d %H:%M:%S'
# Date:   2021-08-27 15:38:56

阅读全文 >>

8月 27

拼多多开放平台

https://open.pinduoduo.com/

https://jinbao.pinduoduo.com/

https://developers.weixin.qq.com/community/develop/doc/0008a0b4a2c800d7b70a6a68d56400

https://www.sunzhongwei.com/jump-to-pinduoduo-wechat-miniapp

https://open.pinduoduo.com/application/document/browse?idStr=04DD98845AD2977D

多多进宝流程

https://jinbao.pinduoduo.com/third-party/rank

阅读全文 >>